` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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 May 3, 2024, 9:48 pm
This article has been viewed 35109 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: