Toolbox Å©±â Á¶Àý 


Toolboxes that contain only a few buttons may cause sizing trouble at design time. This week's tip gives you a workaround. 
Sizing a Toolbox 
Toolboxes are useful additions to applications; they're simply 
secondary forms that provide the user with a choice of buttons. 
However, if your toolbox contains only a few buttons, you may find 
that C++Builder won't let you size the form appropriately at 
design time. For instance, a two-button toolbox should measure 
about 54 pixels wide, but the minimum form width at design time is 
112 pixels. To work around this limitation, you'll need to set the 
form's Width property at runtime before the toolbox opens. 

Submitted by Kent Reisdorph, TurboPower Software 
 KentR@turbopower.com