Working With Buttons
126
TPDesign4 (v3.2 or higher)
See the Button Types section on page 121 for details.
Setting Default New Button Parameters
The Drawing Tools toolbar (FIG. 171) contains shortcuts to several of the main drawing tools that control the
button type, border style, font, font size, button fill color, border color and text color.
The selections made in the Drawing Tools Toolbar will apply to all newly created buttons.
See the Drawing Tools Toolbar section on page 16 for details.
The settings that are specified in this toolbar become the default settings for all new buttons, until the settings
are changed. This way, you can quickly create sets of buttons that are visually consistent.
This toolbar is normally at the top of your screen and provides you with a mechanism for controlling various
elements of future button creation.
This toolbar can either be free floating or docked, but cannot be docked in a vertical fashion, as the drop down
lists contained on the toolbar do not support this type of docking.
On the extreme left side of the toolbar, you will see a button that will allow you to toggle the default choices
for both the Off and the On state of a button. You can control the button type, border family, font, font size,
button fill color, border color and text color.
To set new button parameters:
1. Select the Button Draw tool from the Button Selection/Draw toolbar (see the Button Draw Tools section
on page 122).
2. Click the down-arrow on the first drop-down menu to the right of the State button to select the type of
button you want to create (default = general). This selection becomes the default for all subsequent
buttons, until the Button Type selection is changed (FIG. 172):
3. Click the down-arrow on the second drop-down menu (to the right of the Button Type drop-down) to
select a Border Style for the button. This selection becomes the default for all subsequent buttons, until
the Border Style selection is changed.
FIG. 171 Drawing Tools Toolbar
Press to toggle the On / Off State
The options in this toolbar are enabled only when a Drawing tool is selected.
Buttons are always drawn in the Off state. The Drawing toolbar (shown above) allows
you to control certain new button creation properties for both the Off and the On state
of a button.
FIG. 172 Drawing Tools Toolbar - Button Type Drop-down
Select default Border Style
Select default Button Type
Select default Font
Comments to this Manuals