Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add image to the Toolbar ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00184681
Message ID:
00185147
Vues:
57
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform