Event
Executes the processing when one of the user menu function softkeys 1 to 10 (Key_id) are pressed. Write the processing in the "UserMenu" object. For more information on its use, see Executing a Procedure with a Softkey (User Menu Function).
For information on the variable (Key_id), see UserMenu.Item.Caption.
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
No equivalent key is available on the front panel.