Consultor Eletrônico



Kbase 17003: AUTO-RESIZE resizes both width and height of a fill-in
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
AUTO-RESIZE resizes both width and height of a fill-in

When a fill-in widget's AUTO-RESIZE attribute is set to true,
Progress will resize both the width and height of the fill-in.

For example, if you have a fill-in with height of .85 and
format of X(5) and the format is changed to X(30), the width
is increased and the height is also increased to 1. The height
isn't always increased to 1 as with this example, the new
height and width depend on the format and font of the fill-in.

If you need to keep the height of your fill-ins the same
you should reset the height back to its original value after
changing the attribute which made it resize (FONT or FORMAT).
For example,

DEFINE VARIABLE old-height AS DECIMAL.

old-height = fill-in-1:HEIGHT.
fill-in-1:FORMAT = "x(30)".
fill-in-1:HEIGHT = old-height.


Progress Software Technical Support Note # 17003