TCPmaker : Visual Tour    Sending Messages to Screen Controls  

The screen shot below shows the initial appearance of the controls on the "Btns, LEDs" page.  

Note that the button labeled "Home" is a navigation button: when pressed, it causes the browser to display the Text page, which is the index or "Home" page of our content. 

This page demonstrates the following Control Message API functions:

mtSetButtonMode() - Set the operating mode for a button
mtSetColorIndices() - Set the color indices for a control
mtSetButtonGoToPage() - Set the "GoTo" page (g property) of a Pb button control

Compare this to the appearance of these controls after some buttons on the demo board have been pushed, shown on the next page of this tutorial.

 

open full sized image

15 of 33
Copyright Notice and Author Information