UserMenu_OnPress(ByVal Key_id As Long)
Object type
Event
Description
Executes the processing when one of the user menu function softkeys 1 to
10 (Key_id) is pressed. Write the processing in the "UserMenu" object. For
more information on its use, see Executing a Procedure with a Softkey
(User Menu Function).
Variable
For information on the variable (Key_id), see UserMenu.Item.Caption.
Examples
Private Sub UserMenu_OnPress(ByVal id As Long)
If id = 1 Then
MsgBox "Button 1 was pressed."
ElseIf id = 10 Then
MsgBox "Button 10 was pressed."
End If
End Sub
Equivalent key
No equivalent key is available on the front panel.
Programming
1551