4D v12.4OBJECT SET ALIGNMENT |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v12.4
OBJECT SET ALIGNMENT
|
OBJECT SET ALIGNMENT ( {* ;} object ; alignment ) | ||||||||
Parameter | Type | Description | ||||||
* |
![]() |
If specified, object is an Object name (String) If omitted, object is a field or a variable | ||||||
object | Form object |
![]() |
Object name (if * specified), or Field or variable (if * omitted) | |||||
alignment | Longint |
![]() |
Alignment code | |||||
The OBJECT SET ALIGNMENT command allows you to set the type of horizontal alignment applied to the object(s) 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.
Pass one of the constants of the Object alignment theme in the alignment parameter:
Constant | Type | Value |
Align default | Longint | 1 |
Align left | Longint | 2 |
Align right | Longint | 4 |
Center | Longint | 3 |
The form objects to which alignment can be applied are as follows:
Product: 4D
Theme: Object Properties
Number:
706
Created: 4D v6.8.1
Renamed: 4D v12