CT DO COMMAND

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

version 1


CT DO COMMAND (area; command)

ParameterTypeDescription
areaLongint4D Chart area
commandLongintNumber of command

Description

CT DO COMMAND executes the menu command specified by command. The menu command is executed as if the user had chosen it from a 4D Chart menu. Use this command to perform any actions that do not have an equivalent command in the language. area can be an offscreen area.

The possible values for command are listed in the Command Codes section. These numbers will remain the same even if menu items are changed or moved in future versions of 4D Chart.

Example

This example selects all the objects in the specified area and duplicates them.

      `Same as choosing Select All from the Edit menu
   CT DO COMMAND (Area;2009) 
      `Same as choosing Duplicate from the Edit menu
   CT DO COMMAND (Area;2007) 

See Also

Command Codes.


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