TCPmaker : Visual Tour    Sending Messages to Screen Controls  

When we run the finished project (after we have added the code to customize it, as we'll explain in this tutorial), we see that when we click on one of the buttons on the navigation panel on the left, we not only see that button light up, but we also see, displayed on the top line of the demo board's LCD display, a message that looks like this:

PageNum = 1

If we click the Back or Next button, the page also changes, the correct button on the navigation panel lights up, and the PageNum value displayed on the top line of the LCD  display always displays the correct page number, in the range 0-4.

So, how did we get these navigation buttons to work this way?

 

open full sized image

9 of 33
Copyright Notice and Author Information