Buttons are usually located on
the right-hand side of windows/dialogs. If you want two or more
buttons in a row (i.e. next to each other), this is best achieved
by grouping them.
If you frequently need to insert the same combination of buttons
(e.g. OK, Cancel, Apply), you can design a standard dialog class
that just contains these buttons, and then insert this standard
dialog into the window or dialog class that needs them.
To add two or more
||Use the Windows Designer catalog to open the window/dialog to
which you want to add two or more buttons.
||In the design view, make sure the highest-level Info Window
object (for windows) or Dialog Box object (for dialogs) is
||From the menu bar, choose Insert, Button, or drag and drop a
button from the Control tab page of the Windows Designer
||Repeat the previous step for each of the buttons you want to
||Holding down the CTRL key, click on each of the inserted
buttons, and then from the menu bar, choose Format, Group.
||Select the group (either via the Object tree, or by clicking on
one of the buttons, holding down the ALT key and then clicking on
that button again).
||From the menu bar, choose Format, Alignment, and then choose
Right or Bottom.
Example: Creating a Button