Working With Buttons
140
TPDesign4 (v3.2 or higher)
6. Select the desired display format.
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.
To create a time 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 (see FIG. 192 on page 139).
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
(FIG. 195):
6. Select the desired display format (24-hour, Standard or Standard AM/PM).
General Buttons
General buttons are basic dual-state buttons that can be used for most touch panel functions, and are not
associated with a specific functionality.
Creating General Buttons
1.
Open the Page or Popup page that the button will be added to (double-click on the page in the Workspace
window (Pages tab) to open the page and bring it into edit focus).
2. Use the Button Draw tool to create a new button in the active Design View window.
See the Drawing a Button on page 123 for details.
3. In the General tab of the Properties window, select General as the Type property (FIG. 197).
This selection updates the Properties window, Design View window and State Manager window to
represent the properties specific to this button type.
FIG. 195 Properties window (Programming tab) - Time Display menu
Time and Date buttons do not display any text when viewed in TPD4. The time or
date is only visible once the project is loaded on a touch panel.
FIG. 196 Example - General button
Comments to this Manuals