WR O MENU STATUS

4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next

version 6.0


WR O MENU STATUS (area; command; checked; status{; name})

ParameterTypeDescription
areaLongint4D Write area
commandIntegerCommand number
checkedIntegerReceives checked status
0 = Not checked
1 = Checked with "*"
2 = Checked with "-"
statusIntegerReceives active status
0 = Inactive
1 = Active
nameText or StringReceives name of menu item

Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR GET COMMAND INFO command.

Description

The command WR O MENU STATUS determines if the menu item represented by command is checked or active.

Note: The command numbers used by WR O MENU STATUS are not documented in the present manual. Please refer to the 4D Write 6.0.x documentation or use the WR GET COMMAND INFO command.

After a call to WR O MENU STATUS, the checked and active variables contain values that describe the state of command in area.

If active equals 1, the menu item is enabled. If active equals 0, the item is disabled. If checked equals 0, the item is not checked.

If checked equals 0, the item is unchecked. If checked equals 1, the item is checked using the standard * check mark character. If checked equals 2, the item is checked using the "-" dash character.

The optional name parameter must be a text or string variable and will return the text of the menu item.

See Also

WR GET COMMAND INFO.


4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next