Get alignment

4D - Documentation   Français   English   German   Spanish   Japanese   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 6.8.1


Get alignment ({*; }object) Number

ParameterTypeDescription
*If specified, object is an Object name (String)
If omitted, object is a field or a variable
objectForm objectObject name (if * specified), or
Field or variable (if * omitted)
Function resultNumberAlignment code

Description

The Get alignment command returns a code indicating the type of alignment applied to the object designated by the object and * parameters.

If you specify the optional * parameter, you indicate an object name (a string) in the object parameter. If you omit the * parameter, you indicate a field or variable in the object parameter. In this case, you specify a field or variable reference (field or variable objects only) instead of a string.

Note: If you apply the command to a group of objects, only the alignment value of the last object is returned.

The returned code corresponds to one of the following constants located in the Object alignment theme:

ConstantType Value
Align defaultLongint1
Align leftLongint2
CenterLongint3
Align rightLongint4

The form objects to which alignment can be applied are as follows:

Scrollable areas

Combo boxes

Static text

Group areas

Pop up menu/Drop-down lists

Fields

Variables

See Also

SET ALIGNMENT.


4D - Documentation   Français   English   German   Spanish   Japanese   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next