DVD Player ActiveX Control

MenuSelectButton 

 

Selects the specified menu button.

Public Function MenuSelectButton(
  ByVal iIndex As Integer
) as Bool 

 

Parameter
the index of button. The index value from 1 through 36

Return Value
Return true if successful, otherwise return false.

Example

   

Visual Basic Syntax
Assume the title menu have some buttons, it will selected first menu button and playback it automatically
 Private Sub DVDPlayer1_MenuButtonChange(ByVal iButtonCount As Integer, ByVal iSelButton As Integer)
DVDPlayer.MenuSelectButton 1
DVDPlayer.MenuActivateButton