Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can a Lookup() be put in tool tip?
Message
De
23/09/2007 10:28:15
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
22/09/2007 23:03:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01256130
Message ID:
01256146
Vues:
11
>Can a Lookup() be put in tool tip?

I've once achieved an interesting effect by using tooltiptext_access - i.e. I've set the tooltiptext property to have the access method. It fires whenever tooltip should be shown, which was a perfect way to have a, well, sort of, MouseOver event in VFP6. I've used it for something else entirely, though, because that was in my solitaire game, so hovering the mouse over a card would highlight the card which needs to be moved prior to moving the card under mouse. I've abandoned the Fox version of the game (there's still a link to the JavaScript version in my signature, hosted by Andrew Coates), so your message triggered some dusting of my archives :).

Anyways, subclass your control, give it an access method, and from there you can return whatever you want, even lookup(). And you can override the method in a specific instance of your control as well - the class is needed just because the existence of access method needs to be defined at the class level.

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