Language Reference Guide : 4. System Classes : ButtonField Class : IsAutoSized Attribute
 
Share this page                  
IsAutoSized Attribute
Data Type: integer
4GL Access: RW
The IsAutoSized attribute forces the button field to ignore its Height and Width attributes and resize itself to fit its current text label. OpenROAD enforces this attribute only for button fields that have a text label. The automatic sizing puts a small amount of white space around the text as a border.
This attribute is particularly useful for applications that must be portable between window systems.
Valid settings are:
TRUE
Turns automatic sizing on
FALSE
Turns automatic sizing off