Sample 6: Multi-page Menu Implementation
This sample demonstrates how to set up a paging and menu system.
Switching between screens is quite simple. Maintain a variable that keeps track which screen is currently
being displayed. While switching to a new screen, always update this variable. Use the variable to
determine which set of
MenuCheck
tests should be run for a particular screen. Subroutines are very
useful for compartmentalizing the code.
The following code can be cut an pasted into Cubloc Studio.
Comfile Technology, Inc
CT1820 User's Manual
72 Of 93
Summary of Contents for CUTOUCH CT1820
Page 4: ...Chapter 1 Overview Comfile Technology Inc CT1820 User s Manual 4 Of 93 ...
Page 7: ...The CT1820 s Appearance Comfile Technology Inc CT1820 User s Manual 7 Of 93 ...
Page 8: ...Comfile Technology Inc CT1820 User s Manual 8 Of 93 ...
Page 9: ...Comfile Technology Inc CT1820 User s Manual 9 Of 93 ...
Page 12: ...Comfile Technology Inc CT1820 User s Manual 12 Of 93 ...
Page 17: ...Comfile Technology Inc CT1820 User s Manual 17 Of 93 ...
Page 19: ...Chapter 2 I O Comfile Technology Inc CT1820 User s Manual 19 Of 93 ...
Page 29: ...Comfile Technology Inc CT1820 User s Manual 29 Of 93 ...
Page 32: ...Chapter 3 Command Reference Comfile Technology Inc CT1820 User s Manual 32 Of 93 ...
Page 41: ...Chapter 4 Touch Input Comfile Technology Inc CT1820 User s Manual 41 Of 93 ...
Page 52: ...Chapter 5 ModPort I O Expansion Comfile Technology Inc CT1820 User s Manual 52 Of 93 ...
Page 61: ...Chapter 6 Sample Programs Comfile Technology Inc CT1820 User s Manual 61 Of 93 ...
Page 87: ...Chapter 7 Panel Mounting Comfile Technology Inc CT1820 User s Manual 87 Of 93 ...
Page 88: ...Dimensions Comfile Technology Inc CT1820 User s Manual 88 Of 93 ...
Page 89: ...Comfile Technology Inc CT1820 User s Manual 89 Of 93 ...
Page 90: ...Panel Cutout Comfile Technology Inc CT1820 User s Manual 90 Of 93 ...