See Also:


Align Left

 

Aligns selected objects to the left.

The dominant control is rad2.

Align Left


Align Right

 

Aligns selected objects to the right.

The dominant control is rad1.

 


Align Top

 

Aligns selected objects to the top.

The dominant control is rad2.

Align Top


Align Bottom

 

Aligns selected objects to the bottom.

The dominant control is rad1.

Align Bottom


Align Horizontally to Center

 

Aligns selected objects horizontally to the center.

The dominant control is "Close This Form."

Align Horizontally to Center


Align Vertically to Center

 

Aligns selected objects vertically to the center.

The dominant control was rad4.

Align Vertical Center


Same Width

 

Makes selected objects the same width as the dominant control.

The dominant control was rad1.

Same Width


Same Height

 

Makes selected objects the same height as the dominant control.

The dominant control is rad2.

Same Height


Same Height and Width

 

Makes selected objects the same height and width as the dominant control.

The dominant control is rad3. (Its label is hidden because of its size.)

Same Height and Width


Even Space Horizontally

 

Evenly spaces the center control(s) between the left-most and right-most controls.

Even Space Horizontally


Even Space Vertically

 

Evenly spaces the center control(s) between the top-most and bottom-most controls.

Even Space Vertically


Center Horizontally in a Form

 

Positions the control(s) to the horizontal center of the form.

Center Horizontally


Center Vertically in a Form

 

Positions the control(s) to the vertical center of the form.

Center Vertically


Align Top Right

 

Positions the control(s) to the top, right of the form.

Align to Top Right


Align Center Bottom

 

Positions the control(s) to the bottom, center of the form.

Align Bottom Center


Tab Order

The Tab Order button has two states, off and on. The tab order can only be changed when the Tab Order state is on.

Changing the tab order affects the order of selection when pressing the tab key and the dominant contol with group selections.

 

Form with Tab Order off.

Form with Tab Order on, the tab order values are displayed. Clicking on form controls will now reassign the tab order values

In the example to the right, the Start button was reassigned to tab order zero.

When tab assignments are complete, click the Tab Order button to turn tab order off.


Test Mnemonics

Testing the mnemonics of a form is a process where all of the form short-cuts are tested for uniqueness.

 

The form to the right has six controls, four radio buttons and two group boxes. The radio buttons in the Volts group have each been assigned a mnemonic.

The mnemonic n has been assigned to the On radio button (the underscore indicates a mnemonic has been assigned). This means that the user can press Alt+N (a keyboard shortcut) to select Volts On. Pressing Alt+F selects Volts Off.

The Test Mnemonics button allows you to quickly check for the following condition.

 

In this example, the mnemonic n has been assigned to two controls. Pressing Alt+N will only select the control with the lowest numbered tab order—the next control is unreachable using the keyboard shortcut of Alt+N.

The Test Mnemonics button allows you to quickly check for duplicate mnemonic assignments. The following type of warning message is displayed when an error is detected.

 

 

Clicking on the Yes button shows the offending controls, allowing you to quickly take corrective action.


Test Form

Clicking the Test Form button shows (displays) the form.