Progress
Programming
Handbook


Resizing Widgets Dynamically

Certain run-time conditions can make the size of a widget inappropriate:

By default, Progress resizes the widget if any of the above conditions occur. It determines the size that is most appropriate under the new conditions. This automatic resizing is governed by the value of the the Boolean AUTO–RESIZE attribute, which by default is on, or TRUE. If AUTO–RESIZE is on for a particular widget, then the widget will resize based on its physical characteristics (for example, font, label, and format).

Any of the following actions will stop Progress from automatically resizing widgets at run time:

Note that if you turn AUTO–RESIZE on for a widget whose size you have been controlling, Progress will compute a new size immediately; it will not wait until one of the previously mentioned conditions, such as a font change, occurs.

For a programming example that demonstrates the AUTO–RESIZE attribute, see the information on fill-ins in Representing Data."


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095