Hi John,
> Arcording to your comment, I need to have a set of code to handle it like tribut.vcx ... It may need timer to detect the mouse position...and i know that toolbar cannot contain timer....any suggestion?
A toolbar can contain a timer, but you can't add it. You have to define it as a class. Then add a property to the toolbar, eg. oTimer and put the following code into the Init event:
This.oTimer = CREATEOBJECT( "TimerClass" )
In VFP you can use NEWOBJECT() instead of CREATEOBJECT().
Christof
--
Christof