Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Tooltip programmatically
Message
De
09/07/2008 22:04:43
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01329629
Message ID:
01330110
Vues:
27
>>>NO. Both VFP emulated Tooltip and Windows Native tooltips are usually just one window that is hidden , moved, and displayed, for each control. So there is no way to have all the controls display a tooltip at the same time, since you only have one tooltip for all of them.
>>
>>He can roam all the controls (recursively?) and collect all the tooltips in one big string, then display that in one window.
>>
>>Alternately, there's a way to display a tooltip-like window, starting from Define Window ... name... and then there can be any number of such windows.
>
>Something with Fancy Tooltip class?

I didn't know of that when I needed it, but someone here helped me, about two years ago when I needed it, Martina or someone else from the Czech... suggesting it's as simple as creating a window with a Name clause (so you get an object reference to it), get the txtsize() of the text to display, show window... that's all. It works; I needed something to plug into a ToolTip event of an ActiveX control, and this fit perfectly.

The code is burried somewhere, and I may find it if really necessary - let's see whether the original poster is interested.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform