Adding States To A Button; Duplicating An Existing State On The Button; Adding States From The Clipboard - AMX TPDESIGN4 V2.5 Instruction Manual

Touch panel design program
Table of Contents

Advertisement

Working With Buttons

Adding States To a Button

There are three ways in which new states can be added to a Multi-State General or Multi-State
Bargraph button (the number of states is fixed for the other button types):
For Multi-General buttons the different states are used to animate a button from Off to On (Range
Time Up) and back again to Off (Range Time Down). When the button is turned on it will display
all the assigned states from first to last with a specified time interval between each state's display.
When the button is turned back off, the states will be displayed in reverse order. The interstate time
intervals are user definable in 1/10th second increments. A zero entry will automatically advance /
retreat to the ending / beginning state without displaying any intervening states.
For Multi-Bargraph buttons, the level will directly reflect the displayed state. You can set an
allowable range within a bargraph that has states. Anything outside of that range will not be
represented by a state.
For buttons with multiple states, Send Commands can set the state number, provided it is not a level
type button.

Duplicating an Existing State on the Button

1. If the new states are to be added to the end of the collection (in the State Manager window),
right-click to open the State Manager Context Menu, and select Add States.
2. If the new states are to be inserted elsewhere in the collection, first select the state prior to
which the new states will be created, then right-click to open the State Manager Context Menu
and select Insert States.
3. The Add States dialog (or the Insert States dialog if you selected Insert States) is displayed.
Use these dialogs to specify the number of states to be created, and which existing state to
duplicate (which will be highlighted in the State Manager as the state number is changed).
4. When the desired number of states and the state to duplicate have been chosen, press OK and
the new states will be added to the collection in the desired location. Otherwise, press Cancel
to exit the dialog without creating any states.

Adding States From the Clipboard

One way to add new states to a Multi-State General or Multi-State Bargraph button is by pasting
states from the clipboard. Pasting states from the clipboard offers more power and flexibility than
single state duplication. States may be copied from another button, page, or popup page, or even
from a different panel:
1. First select the button, page, or popup page whose states will be copied.
2. In the State Manager window, select the source states. Hold down the Ctrl key while left-
clicking to add states to the selection. Left-click + Shift to select a range of states.
3. When the source states have been selected, copy them to the clipboard by selecting either
Edit > Copy, State Manager Context Menu > Copy, or the Ctrl-C keyboard accelerator.
110
By duplicating an existing state on the button
By pasting states that have been copied to the clipboard
By a drag-and-drop copy operation
TPDesign4 Touch Panel Design Program

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents