Page History
A header column's attributes.
Usage
Code Block |
---|
Set_Property(OLECtrlEntID, "OLE.HeaderColumn[col]", Array)
Values
Array has the following |
Values
Array has the following structure:
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Width | Integer | The width, in pixels, of the header column | 40 |
<2> | Visible | Boolean | Establishes whether or not the header column is visible to the user | True |
<3> | Resizable | Boolean | Establishes whether or not the user can resize the header column at runtime | True |
<4> | Autosized | Boolean | Establishes whether or not the header column resizes itself to fit all columns as best as possible within the entire width of the edit table | False |
...
The forth field, Autosized, lets you specify automatic resizing behavior for a header column. The edit table resolves autosized header columns thusly: if the total width of all columns is less then the table's width, then all autosized header columns are equally sized in such as way that all columns fit perfectly within the table. If the total width of all columns is greater than the table's width, then all autosized header columns revert to their preset Width values.