Print Search Rate
    
   04-23-2003, 3:38 PM
Using ActiveSizer with Alignable Controls

You can place ActiveSizer on the same form with other alignable controls such as a rebar control, picture box or a status bar. However, ActiveSizer cannot detect when the other controls are resized at run time to change its size. You should reset the Align property to allow ActiveSizer to recalculate its fill area. For example, when using a rebar control that is aligned to the top of your form and ActiveSizer is aligned to fill the form, you should add the following code in the Rebar HeightChanged event. This allows ActiveSizer to adjust to the new form area.

Private Sub Coolbar1_HeightChanged(ByVal NewHeight As Single)
   ActiveSizer1.Align = ddasFill
End Sub


GrapeCity » Frequently Aske... » ActiveSizer FAQ » Using ActiveSizer with Alignable Controls
Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.