` Printed Icetips Article

Icetips Article



Par2: Changing default control height
1998-02-13 -- Nigel Hicks
 
In Window Formatter, when populated, a control will generally take on
the size of the most common control *of that type* already in the
window.
However the initial height or width of a control can be overriden
using the new [Control Defaults] section of BIN\Clarion4.INI.

There are 12 possible entries in this section:

entry_h=
entry_w=
button_h=
button_w=
spin_h=
spin_w=
text_h=
text_w=
list_h=
list_w=
combo_h=
combo_w=

Where _h is for height, and _w for width

The value you can set is one of
   0 - use built in default (i.e. no AT value)
   >0 - use this value if no other control of this class has been
populated (otherwise use most common value)
   <0 - *always* use this (abs) value.

For example
   combo_h=10
would ensure the first combo on a window is placed with height 10
  combo_h=-10
would ensure *all* combos are placed with height 10.



Printed May 3, 2024, 6:26 pm
This article has been viewed/printed 35108 times.