Working With States
135
TPDesign4 Touch Panel Design Software (v2.10 or higher)
Adding States To a Multi-State 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):
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
For Multi-General buttons the different states are used to animate a button from Off to On (Animate
Time Up) and back again to Off (Animate 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.
• Image/Text Positioning:
This option opens the Text/Image Position dialog, which allows you
to specify the position of images and/or text on the selected button
state(s).
• Animation Wizard:
This option launches the Animation Wizard. The Animation Wizard
guides you through the process of creating an animated button.
• Tweeners:
Click to open the Tweeners sub-menu where you can select from
several types of tweeners to use (for animation purposes).
Содержание Modero NXD-1200VG
Страница 20: ...xviii TPDesign4 Touch Panel Design Software v2 10 or higher Table of Contents ...
Страница 130: ...List Box Buttons 110 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 160: ...Working With States 140 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 166: ...Working With Function Codes 146 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 174: ...Colors and Palettes 154 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 186: ...Animations and Tweening 166 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 208: ...Working With Templates 188 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 236: ...File Transfer Operations 216 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 248: ...Program Preferences 228 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 266: ...Appendix B G4 PanelBuilder 246 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 272: ...Appendix C TakeNote 252 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 273: ...Appendix C TakeNote 253 TPDesign4 Touch Panel Design Software v2 10 or higher ...