Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property for text controls that is like tooltiptext???
Message
De
16/07/2022 15:20:40
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01684667
Message ID:
01684668
Vues:
59
J'aime (1)
>I'm drawing a blank on this feature where like a textbox or some other text control has too much text and by setting this magical control property it looks like a tooltiptext by extending the text display beyond the control?

I think we had a class posted around here, ages ago, borderless form which would appear on top of your control and look like a tooltip, and would disappear on its own .MouseLeave() event. Your .tooltiptext would have to be "=thisform.ShowToolForm(this)" and the ShowToolForm method should return a "" (because that's expected of an expression in the tooltiptext property).

Or some trick like that. You could likewise do that in your controls .mouseEnter or .gotFocus. IIRC, the code was actually quite short, the form and the scaffolding to call it were below forty lines altogether.

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