Working With Buttons
123
TPDesign4 (v3.2 or higher)
Drawing a Button
1. Select the Button Draw Tool.
2. Open the Page (or Popup page) that the button will be added to, and place your cursor within the
boundaries of an open Design View.
3. Hold down the left mouse button and drag the cursor diagonally. You will see a sizing rectangle as you
drag the mouse, indicating the size of the button you are drawing (FIG. 167):
Hold down the SHIFT key while drawing to constrain the button to a square.
With an item selected in a Design View window, hold down the CTRL key while moving the item
with the keyboard arrow keys to move by the grid size instead of a single pixel (regardless of the
grid visibility or snap to grid setting). Holding the CTRL key while resizing the selected items with
the keyboard will resize by the grid size.
Minimum button size is 4 x 4 pixels.
4. To complete the button draw action, release the left mouse button (FIG. 168):
Upon the creation of a button on a page (or popup page) you will see red selection handles appear on the
outsides of the button indicating edit focus.
The button will be drawn on-screen showing the current default button properties.
Buttons are always drawn in the Off State.
The maximum number of buttons per page / popup page = 500.
5. Use the fields and options in the General, Programming and States tabs of the Properties Window to
specify properties for the selected button. See the Editing Button Properties section on page 127 for
details.
6. Select File > Save to save your changes.
FIG. 167 Drawing a Button - Click and Drag
FIG. 168 Drawing a Button - Release
The Button Type is set via the Type property in the Properties window (General tab).
Select Type to select from a drop-down menu of Supported Button Types.
Select View > Button Preview to preview the button (click Push to simulate a button
press) in the Button Preview window. See the Previewing a Button section on
page 138 for details.
Comments to this Manuals