onTrackerPos (Callback)


onTrackerPos (id, pos)

This callback is invoked when the slider on a tracker control is moved.

Parameter Description
id The id of the tracker control
pos The new position of the tracker's slider

Returns

0

Remarks

This is a callback function. You must supply this function yourself. Register this callback with the WinXRegOnTrackerPos function.

Examples

FUNCTION onTrackerPos (id, pos)

'print out the new position of the tracker
PRINT "Tracker ";id;" has moved to ";pos

END FUNCTION

Related Links

WinXAddTrackBar
WinXRegOnTrackerPos