DR DISPLAY OPTIONS

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 DISPLAY OPTIONS (area; options; mode)

ParameterTypeDescription
areaLongint4D Draw area
optionsIntegerCode for display options
modeInteger0=Hide
1=Show
2=Toggle

Description

The command DR DISPLAY OPTIONS controls which display options to show in area. Display options are drawing aids such as ruler lines and page breaks.

options specifies the options to affect. options is expressed as the sum of display option codes. Each code describes one display option. The display option codes are given in the following table:

CodeOption
-1All options
1Rulers
2Ruler lines
4Page breaks
8Coordinates
16Menu bar
32Tool palette
64Scroll bar
128Area border
256Print area
512Paper area
1024Paste board
2048Zoom box

mode describes how to change the display options:

If mode equals 0, the options are hidden.

If mode equals 1, the options are displayed.

If mode equals 2, the options are toggled.

Example

The following example turns off all of the display options for Area in the On load event of the form method.

   If (Form event=On load)
      DR DISPLAY OPTIONS (Area;-1;0)
   End if

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