DR Get attribute lock

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 Get attribute lock (area; scope; attributeNum) Integer

ParameterTypeDescription
areaLongint4D Draw area
scopeLongint-1=All
0=Selected objects
>0=Object ID
attributeNumIntegerNumber of the attribute
Function resultIntegerState of the attributeNum parameter
0 = Not locked, 1 = Locked

Description

The command DR Get attribute lock returns the state of the attributeNum parameter. The codes that can be passed in attributeNum are listed below.

• If DR Get attribute lock returns 0, attributeNum is not locked.

• If DR Get attribute lock returns 1, attributeNum is locked.

Here is the list of lock attribute codes:

Attributes Values
General
Name3
Deletion0
Location7
Size5
Shape25
Rotation11
Ungrouping1
Corner Rounding24
Text
Font19
Size20
Style21
Justification22
Edition23
Line
Color15
Pattern 14
Size16
Endmarks17
Fill
Color13
Pattern12


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