
Working With Buttons
75
TPDesign4 Touch Panel Design Software (v2.10 or higher)
Button fill color is state-specific, so keep in mind whether you want the fill color to occur on
all states, or only on specific states. Each state of the selected button is represented individually
in the States tab of the Properties Control window, so use the Fill Color field in the state that
you want to change, or use the Fill Color field under All States to change the fill color on every
state in the button.
3.
Click the browse button to open the Colors dialog, where you can change the fill color.
4.
Click
OK
to close the Colors dialog.
Border Styles
Anytime you create a new popup page or button, you'll have to assign a border name. If you don't want a
border on the object, you can select "none" as the border name. There are several types of border names
to choose from, and they all can all be assigned to both popup pages and buttons.
Creating a Time Button
A Time Button is a button that displays the current time on the panel. It is a read-only non-interactive
button.
1.
Create a new button. The button can be of any type, but normally you would use the General button
type.
2.
In the Programming tab of the Properties window, click the
Address Port
field to enable the drop-
down menu.
3.
Select
0-setup port
from the drop-down menu.
4.
Click the
Address Code
field to enable the drop-down menu (
none
,
Date Display
,
Time Display
).
5.
Click the plus (+) symbol next to
Time Display
to expose a drop-down menu of time display
formats to choose from.
6.
Select the desired display format (
24-hour
,
Standard
or
Standard AM/PM
).
Creating a Date Button
A Date Button is a button that displays the current date on the panel. It is a read-only non-interactive
button.
1.
Create a new button. The button can be of any type, but normally you would use the General button
type.
2.
In the Programming tab of the Properties window, click the
Address Port
field to enable the drop-
down menu.
3.
Select
0-setup port
from the drop-down menu.
4.
Click the
Address Code
field to enable the drop-down menu (
none
,
Date Display
,
Time Display
).
5.
Click the plus (+) symbol next to
Date Display
to expose a drop-down menu of time display
formats to choose from.
6.
Select the desired display format (
Weekday
,
dd/mm/yyyy
,
yyyy-mm-dd
, etc).
Time and Date buttons do not display any text when viewed in TPDesign4. The time
or date is only visible once the project is loaded on a touch panel.
Содержание 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 ...