Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add image to the Toolbar ?
Message
 
To
08/02/1999 13:05:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00184681
Message ID:
00185147
Views:
53
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
Previous
Reply
Map
View

Click here to load this message in the networking platform