GET MENU ITEM PROPERTY

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

version 11


GET MENU ITEM PROPERTY (menu; menuItem; property; value{; process})

ParameterTypeDescription
menuMenuRef | LongintMenu reference or Menu number
menuItemLongintNumber of menu item or -1 for the last item
added to the menu
propertyStringProperty type
valueExpressionProperty value
processLongintProcess number

Description

The GET MENU ITEM PROPERTY command returns, in the value parameter, the current value of the property of the menu item designated by the menu and menuItem parameters.

You can pass -1 in menuItem in order to specify the last item added to menu.

In menu, you can pass a menu reference (MenuRef) or a menu number. If you pass a menu reference, the process parameter is unnecessary and will be ignored if it is passed. If you pass a menu number, the command will take the corresponding menu in the main menu bar of the current process into account. If you want to designate another process, pass its number in the optional process parameter.

In the property parameter, pass the property for which you want to get the value. You can use one of the constants of the "Menu item properties" theme or a string corresponding to a custom property. For more information about menu properties and their values, please refer to the description of the SET MENU ITEM PROPERTY command.

See Also

SET MENU ITEM PROPERTY.


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