Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Magnify Data
Message
De
02/03/2003 23:37:50
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
28/02/2003 12:26:05
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00759492
Message ID:
00760230
Vues:
15
>I have a form that has a lot of data pertaining to a record. Due to space some of the text boxes are small and hard to read. Normally these text boxes are just along for the ride. However, occasonally someone needs the info. Those with crisp monitors and keen eyes can read the data okay. But us with less than perfect eyesight have trouble. I want to use a ToolTip technique to temporarilly enlarge the text/data when necessary. Any ideas?

Have a suitable label object with large font and negative coordinates. Set textbox.tooltiptext=thisform.ShowTooltipLabel(this) in the PEM window. The ShowTooltip should set the large label's caption to the textbox's value, move it to where the mouse is, keep it there for a while (maybe a number of seconds depending on the length of the text, or until MouseLeave event of the textbox), and then just move it back into the dark republic of negative coordinates. The method eventually returns a "".
Tooltiptext doesn't necessarily have to be a literal string, it can well be a function call. So you'll have some code which would be called when a tooltip should be shown.

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