HEADINGALIGNMENT

 

 

Purpose

.HeadingAlignment enables you to specify the text alignment of the headings independently of the column alignment. This property can be applied to the column headers used in certain objects and can be specified on a per column basis.

(Open Client only)

Syntax

Setting:          ObjectReference.HeadingAlignment = Value

Retrieving:     Variable = ObjectReference.HeadingAlignment
 

Operation

ObjectReference is the Tag Name of the object
Value
is the setting for the property (
Left, Right, Center, Default)
Variable is an alphanumeric scratch variable
 

Remarks

Once the HeadingAlignment property command is executed in logic it will be visually applied during the next display cycle.

The retrieved value is returned in upper case.
 

Example

To set the .HeadingAlignment property for a column header in a combo box with a Tag Name of CustomerNumber to be right-aligned by using an alpha scratch variable:

$RIGHT = 'RIGHT'
CustomerNumber.HeadingAlignment = $RIGHT


To set the .HeadingAlignment property of the above combo box to the value of the current heading alignment of the combo box whose Tag Name is CustomerOrderNumber:

CustomerNumber.HeadingAlignment = CustomerOrderNumber.HeadingAlignment
 

 

Note: This property applies only to PROIV Open Client and not to the PROIV MFC Client.

 

Comment on this topic

Topic ID: 510146