DR EXPERT COMMAND

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

version 6.0


DR EXPERT COMMAND (area; command; status)

ParameterTypeDescription
areaLongint4D Draw area
commandLongintNumber of command
statusInteger0=Enabled
1=Disabled

Description

The command DR EXPERT COMMAND enables or disables a menu command for 4D Draw expert mode.

If status equals 0, the menu command specified by command is enabled in expert mode. If status equals 1, the item is disabled. The possible values for command are listed in Appendix F, Command Codes.

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

Disabling certain menu items affects other operations in 4D Draw:

If you disable the Goto Full Window item, the Zoom button is also removed. If you disable the Attributes menu item, the user cannot double-click an object to display the Object Attributes dialog box.

If you disable the Locked menu item, the Lock button in the Object Attributes dialog box is also disabled.

Example

The following example disables the Attributes menu item and stops the user from opening the Object Attributes dialog box:

   DR EXPERT COMMAND (Area;4018;1)
   DR EXPERT MODE (Area;1)

See Also

DR EXPERT MODE.


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