` Changing default control height (Nigel Hicks ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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.


Today is November 21, 2024, 3:48 am
This article has been viewed 35185 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: