UserMenu.Item(Key_id).Caption

Object type

Property

Syntax

UserMenu.Item(Key_id).Caption = Lbl

Lbl = UserMenu.Item(Key_id).Caption

Description

Sets the label name of the user menu function softkeys 1 to 10 (Key_id).

Variable

Parameter

Key_id

Description

Softkey number for the user menu function

Data type

Long integer type (Long)

Range

1 to 10

Note

You cannot omit this because it does not have a preset value. If the specified variable is out of the valid setting range, an error occurs when executed.

Parameter

Lbl

Description

Softkey label name for the user menu function

Data type

Character string type (String)

Preset value

Varies depending on the specified softkey number.

Examples

Dim KeyLbl As String
UserMenu.Item(1).Caption = "Meas"
KeyLbl = UserMenu.Item(1).Caption

Equivalent key

No equivalent key is available on the front panel.