Set the properties of the menu item.
Below is a list of properties.
1) Items added with "string"
Property Name
|
Type
|
explanation
|
Text
|
character
|
The text to display in the menu.
|
EnableState
|
character
|
The state of the menu item.
"enable" - The menu item is displayed normally.
"disenable" - Disables the menu item so that it cannot be selected. It is not dimmed.
"gray" - Disables the menu item so that it cannot be selected and is dimmed.
|
CheckState
|
Boolean
|
When TRUE, places a check mark next to the menu item.
|
Type
|
character
|
"string" (read-only)
|
2) Items added with "separator"
Property Name
|
Type
|
explanation
|
Type
|
character
|
"separator" (Read-only)
|
3) Items added with "popup"
Property Name
|
Type
|
explanation
|
Text
|
character
|
The text to display in the menu.
|
Type
|
character
|
"popup" (read-only)
|
|