Generated Button Names - AMX TPDESIGN4 V2.5 Instruction Manual

Touch panel design program
Table of Contents

Advertisement

When using the circle, oval or diamond border types, you may notice the slider bar
appearing partially outside of the button border. This is a result of scaling the button
smaller than what the selected border requires to accommodate the slider bar. If you
see this, try using a "smaller" border (i.e. try using "Circle 50" rather than "Circle
100"). Experiment with different border types to get the results you're after.
5. Upon the creation of a button on a page (or popup page) you will see selection handles appear
on the outsides of the button that are small yellow squares with red interiors. This is a visual
indication that the newly created button has the edit focus. Provided you have the Properties
Control window visible, you will also see a table representing the various properties for the
button type created.
6. Use the General, Programming and States tabs of the Properties Control window to specify
general properties and state-specific properties for the selected button.
7. Select File > Save to save your changes.
8. Select View > Button Preview to preview the button (click Push to simulate a button press).

Generated Button Names

When new buttons are created, by default the buttons are automatically given a sequential two-part
name composed of the button number (relative to the number of buttons already created in the
Project) and button type, separated by a colon (i.e. "Button 1 : general", "Button 2 : multi-state
general", etc). However, TPDesign4 goes further in automatically generating a descriptive name for
the button, based on the text and/or bitmap applied to the button:
This is where the Lock Button Name option (in the General tab of the Properties Control Window)
comes into play. By default, the Lock Button Name option is set to Off. At any point in the design
process, click Lock Button Name and select Yes to prevent the button from being automatically
renamed by the program when you edit the text or bitmap assignment(s). However, Lock Button
Name does not prevent you from manually renaming the button, via the Name field.
TPDesign4 Touch Panel Design Program
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.
If you apply text to the button, the button text is substituted for the button number. For
example if you create a new button (which is automatically named "Button 9"), then add
the text "Welcome", note that the button is automatically renamed to "Welcome :
general". Note that this name change occurs on the fly, and does not require a Save
operation.
Text on a button always overrides the presence of a bitmap. If there is text associated with
a button, and you add a bitmap, the button name will not change. However, if the button
has no text, when you apply a bitmap to the button, the button is automatically renamed
to reflect the bitmap file name (i.e. "Background : general").
Note that if you change the text, the button is again renamed to reflect the updated text.
Furthermore, any time you change the bitmap or the text on the button, the button name is
automatically updated with either the latest text or bitmap assignment.
Working With Buttons
89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents