|
When you have controls on your form already positioned and you want to add sizer or splitter capability, ActiveSizer’s Optimize Grid feature reduces the work of repositioning each of these child controls. - If you want to use ActiveSizer on an existing form, but have already designed the layout of controls, select all the controls on the form that you want to place in the control.
- Right-click and choose Cut from the context menu, or press Ctrl-X to move the controls to the clipboard.
- Place ActiveSizer on your form and set the AutoSizeChildren property to False in the property sheet, or set the GridRows property and GridCols property to 0.
- Paste the controls onto ActiveSizer by choosing Paste from the context menu, or by pressing Ctrl-V to move the controls from the clipboard.
- Ctrl-Right click and select Optimize Grid . ActiveSizer creates a grid that matches your layout of the child controls.
Tip: If you have a group of controls that should not size relative to each other but should size relative to other groups or controls, use picture boxes to group the controls. - Place a picture box into a cell in ActiveSizer. - Paste the controls onto the picture box
|