List Box Buttons
211
TPDesign4 (v3.2 or higher)
List Box Buttons - Navigation Buttons
General buttons can be used to provide a means for the user to control a List Box button. These buttons are
referred to as List Box Navigation buttons.
Here are the actions that a list box navigation button can perform (selectable via the Channel Code property).
Up - Move list up one entry.
Down - Move list down one entry.
Page Up - Move list up one page.
Page Down - Move list down one page.
Home - Move list to top of page.
End - Move list to end of page.
Sort Column (1-20) - Sort the specified column. On first press, the specified column is sorted
alpha-numerically in descending order. Press again for an ascending re-sort.
The figure below (FIG. 299) illustrates a List Box (in white), five navigation buttons (in cyan) and a scroll bar
(in yellow):
To construct a list box navigation button, add a general button to the page and set the Channel Port to the List
Box and set the Channel Code to the desired function.
For example, the three large cyan buttons in the figure above could be used to sort columns of the list box. All
three button’s Channel Port should be set to the List Box.
The first button’s Channel Code would be set to “Sort Column 1”.
The second button’s Channel Code would be set to “Sort Column 2”.
The third button’s Channel Code would be set to “Sort Column 3”.
The smaller cyan buttons, one above and one below the yellow button could be set to scroll the list box up and
down.
Simply set both button’s Channel Port to the List Box.
Set the top button’s Channel Code to “Up” and the bottom button’s Channel Code to “Down”.
Alternatively you could leave these buttons out and program the external buttons (R4) to move the list up and
down.
FIG. 299 List Box Buttons - Navigation Buttons
Comments to this Manuals