You can use control docking on your forms if you want to allow users to drag a docking control (and all of its children) to a new position on the form or to cause that control to float in an independent floating window.
The changes required to implement docking controls enable you to have multiple status lines, multiple frames aligned to the top or bottom of the form, to align all controls that use the space remaining on the parent, and to align all multiple controls in the same parent so that they share the space remaining after other siblings have been aligned.
To specify that a form, frame, or docking container control allows docking within it
Select a
Click the Specific icon on the Properties dialog. The Specific sheet of the Properties dialog is then displayed. (For details, see "Maintaining Properties for Your Form or Control" and "Maintaining Specific Control Properties", later in this chapter.)
Select the
To specify the docking that you require for the control, perform one of the following actions.
Clear all docking options by checking the None check box
Set all docking options by checking the All check box
Specify individual options by checking or unchecking the values that you require or do not want to apply, respectively
The default value of the
The default value for
For docking examples and details about floating and docking controls, see the