Language Reference Guide : System Classes : FrameExec Class : IsAutoSized Attribute
 
Share this page          
IsAutoSized Attribute
Data Type: smallint
4GL Access: RW
The IsAutoSized attribute automatically sizes the window using the sizes of the fields on a frame.
When the IsAutoSized attribute is TRUE, the window sizes itself to fit all the fields in the frame's form when it displays. It first determines the size of the topmost and leftmost fields on the frame, and then adds an equivalent margin to the bottommost and rightmost fields. It uses only the visible fields to determine the size.
If you change the sizes of the fields at runtime, the window does not automatically adjust itself with each change. However, if you reset the IsAutoSized attribute to TRUE, the calculations are performed again and the window adjusts to the current size of the fields.