Consultor Eletrônico



Kbase P27032: What does The AUTO-RESIZE attribute do?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/05/2010
Status: Unverified

GOAL:

What does The AUTO-RESIZE attribute do?

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

FIX:

The AUTO-RESIZE attribute applies to the BROWSE column, BUTTON, COMBO-BOX, EDITOR, FILL-IN, RADIO-SET, SELECTION-LIST, SLIDER, TEXT and TOGGLE-BOX widgets and causes the size of these widget to change when the LABEL, FONT, or FORMAT attribute of the widget changes.
For instance, if you have a BUTTON that is very small and uses a very small font for the label, then if you have AUTO-RESIZE turned on for that button and you change the font to a bigger one, you will see that the button itself will resize to fit the label that is displayed in the new font. This is also true of the box that is drawn around a toggle-box label when it is selected--it will change size if a bigger font is used if AUTO-RESIZE has been turned on for that toggle-box.

If AUTO-RESIZE is set for editor, combo-box, selection lists, fill-in widgets etc.. then they will resize if the font changes so that they can still display the same number of characters that they displayed before the font change.