CT EXPERT COMMAND

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

version 1


CT EXPERT COMMAND (area; command; status)

ParameterTypeDescription
areaLongint4D Chart area
commandLongintNumber of command
statusIntegerStatus of the menu item in expert mode
-1 = Returns current value
0 = Enabled
1 = Disabled

Description

CT EXPERT COMMAND enables or disables a menu command for 4D Chart expert mode.

If status equals 0, the menu command specified by command is enabled in expert mode.

If status is greater than 0, the item is disabled.

If status is a variable equal to -1, CT EXPERT COMMAND returns the current status of the menu command in status (0 = Enabled; 1 = Disabled).

The possible values for command are listed in the Command Codes section.

If a menu item is disabled with CT EXPERT COMMAND, it can still be executed by calling CT DO COMMAND.

Example

This example disables the Paste Field menu command in the Database menu.

   CT EXPERT COMMAND (Area;6001;1)
   CT EXPERT MODE (Area;1)

See Also

Command Codes, CT EXPERT MODE.


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