4D v14.3

OBJECT SET VERTICAL ALIGNMENT

Home

 
4D v14.3
OBJECT SET VERTICAL ALIGNMENT

OBJECT SET VERTICAL ALIGNMENT 


 

OBJECT SET VERTICAL ALIGNMENT ( {* ;} object ; alignment ) 
Parameter Type   Description
Operator in If specified, object is an object name (string)
If omitted, object is a variable
object  Form object in Object Name (if * is specified) or
Variable (if * is omitted)
alignment  Longint in Alignment code

The OBJECT SET VERTICAL ALIGNMENT command modifies the type of vertical alignment applied to the object(s) designated by the object and * parameters.

If you pass the optional * parameter, this indicates that the object parameter is an object name (a string). If you do not pass this parameter, this indicates that the object is a variable. In this case, you pass a variable reference instead of a string. 

In alignment, you pass one of the following constants found in the Form Objects (Properties) theme:

Constant Type Value
Align bottom Longint 4
Align center Longint 3
Align default Longint 1
Align top Longint 2

Vertical alignment can be applied to the following form objects:

  • list boxes,
  • list box columns,
  • list box headers and footers.

 
PROPERTIES 

Product: 4D
Theme: Objects (Forms)
Number: 1187

 
HISTORY 

Created: 4D v13

 
SEE ALSO 

OBJECT Get horizontal alignment
OBJECT Get vertical alignment
OBJECT SET HORIZONTAL ALIGNMENT

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)