Language Reference Guide : 4. System Classes : TableField Class : ExactWidth Attribute
 
Share this page                  
ExactWidth Attribute
Data Type: integer
4GL Access: RW
The ExactWidth attribute specifies the width of a TableField.
For a vertical TableField, if ExactWidth is smaller than the OuterWidth of the TableField, the TableField will be set to the appropriate size, and a horizontal scrollbar will appear as needed. If ExactWidth is larger than the actual OuterWidth of the TableField, an additional column will appear as an empty column field with a header button containing no text.
For a horizontal TableField, if ExactWidth is smaller than the OuterWidth of the TableField, the NumVisibleRows will be decreased and the underlying table body will be decreased. If ExactWidth is larger than the OuterWidth of the TableField, then additional visible rows will be added to so that the last row is a partial row unless it fits exactly in the space.