|
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
|