version 6.0
DR COORDINATES (area; panelItems; mode)
| Parameter | Type | Description | |
| area | Longint | 4D Draw area | |
| panelItems | Longint | Attribute to display | |
| mode | Integer | 0=Hide | |
| 1=Show | |||
| 2=Toggle |
Description
The command DR COORDINATES controls which items are shown when the Coordinates panel is displayed in area. DR COORDINATES is the procedural equivalent of the coordinate check boxes in the Preferences dialog box.
The panelItems parameter specifies the object attributes to affect. panelItems is expressed as the sum of attribute codes. Each code describes one attribute, such as height or width.
The possible values for panelItems are given in the following table:
| Code | Coordinate Panel Item |
| 1 | Width |
| 2 | Height |
| 4 | Horizontal Scale |
| 8 | Vertical Scale |
| 16 | Horizontal Change |
| 32 | Vertical Change |
| 64 | Line Length |
| 128 | Angle |
mode controls the display of the coordinates.
If mode equals 0, the coordinates are hidden.
If mode equals 1, the coordinates are displayed.
If mode equals 2, the coordinates are toggled.