| Parameter | Description |
|---|---|
| iColumn | The column number (0-based) |
Property String Header_Label
| Read Access: | Get Header_Label iColumn to StringVariable |
| Write Access: | Set Header_Label iColumn to StringVariable/Value |
Header_Label allows a developer to define text for column headers in a grid or list. This property specifies the text that is to appear at the top of Column iColumn. In data-aware classes, the value of this property is overridden by label values in the DDO when Auto_Label_State is set to True.
This sample shows how to set the Header_Label for the first 3 columns in a dbGrid or dbList by augmenting the Activating method, which fires the first time the object is activated.
Procedure Activating
Forward Send Activating
Set Header_Label 0 to "Cust. Id"
Set Header_Label 1 to "Cust. Name"
Set Header_Label 2 to "Phone"
Set Header_Label 3 to "Zip Code"
End_Procedure