Defining the Layout of Your Form

The Layout menu commands enable you to fine-tune the sizing and placement of controls on your painted form. For example, if you have painted a row of buttons, you may want to space them neatly on your form and make them all the same size.

Some sizing and alignment subcommands cannot be selected if you have not selected a group of two or more controls (that is, they are disabled). All alignments are relative to the whole form unless you have selected controls within a container control, in which case alignments are relative to the container. For details, see "Adding Container Controls", earlier in this chapter.

Some alignment commands require you to select a group of controls. In those commands that align relative to a master control, the last control that you select in a group becomes the master. The master control is displayed with sizing handles.

The sizing and placement commands are:

You can use the Undo Last Layout command from the Edit menu to undo the last command that you actioned.