HEADINGFORECOLOR

 

 

Purpose

.HeadingForeColor enables you to specify the text colour used in a column heading. 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.HeadingForeColor = Value

Retrieving:     Variable = ObjectReference.HeadingForeColor
 

Operation

ObjectReference is the Tag Name of the object
Value
is a RGB triplet string or a string holding a colour name (see Color Values)
Variable
is an alphanumeric variable

 

Remarks

Logical colour names are defined in the Application Definitions File.

The colour value retrieved is always the same as the value set, irrespective of any colour mapping done by the operating system or display subsystem.

Example

To set the .HeadingForeColor property for a column header in a combo box with a Tag Name of CustomerName to green:

CustomerName.HeadingForeColor = "GREEN" or:

CustomerName.HeadingForeColor = "0,255,0"  or:

$GREEN = "GREEN"
CustomerName.HeadingForeColor = $GREEN  



To retrieve the font colour that was set for a combo box with a Tag Name of CustomerName:

$CUSTOMERNAME_FORECOLOR = CustomerName.HeadingForeColor

 

 

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

 

Comment on this topic

Topic ID: 510150