TCPmaker : Visual Tour    Visual Page Designer Overview  

Here we see a Horizontal Slider control that uses the String variable s0 that we showed on the previous slide. Rememer that s0 is in turn applying its formatting string to display Numeric variable n0's current value 1 (out of 4 on the micro side), as scaled to the PC side range (0..10).

This scaling and displaying process happens automatically in the PC browser. In this case, the Horizontal Slider is a control for sending numbers to the micro device. The PC browser will scale the value to the nearest integer in the micro side range (mn..mx) In this case it will send an integer value "1" to the event handler for this Numeric variable in the PIC code. You just need to add a small amount of code to this event handler to do something with this value when the event handler receives it. 

 

open full sized image

6 of 9
Copyright Notice and Author Information