Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need API to sense tooltip being fired
Message
 
À
26/04/2003 01:21:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00781111
Message ID:
00781830
Vues:
14
>>I would like to capture the tooltip when an ocxToolBar button's tooltip is fired so the application can do something with the text. Is there an API that will capture this event and push the [tool tip] string into a form property so that the _assign method can do something with it?
>>
>
>Terry, in the ToolTip property put a function call instead of actual text. The function can then do whatever is needed and return whatever text should be the tool tip.

I thought I tried something like that. The reason I "think" I need it is the OCX Toolbar does not have a MouseMove/Over event. I wanted to set the value in a status bar panel whenever the mouse crossed the ToolBarButton. The function (noting it was late and I was beat), seemed to assign the tooltip() of the last button that initialized to the StatusBar panel. But - I will try again!
Thanks
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform