Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property for text controls that is like tooltiptext???
Message
 
À
19/07/2022 06:33:07
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01684667
Message ID:
01684676
Vues:
57
>>>>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?
>>>
>>>This is automatic in grids, but I don't know of a property that makes that happen for other controls. In reports, there's a way to get an ellipsis (three dots) after a fields that's too long.
>>>
>>>Tamar
>>
>>The Grid. Yes, I knew that I've seen that behavior somewhere. Ok. Thanks everyone.
>
>There is no such property.
>
>I looked up the place where I do similar stuff. Depending of what you like to do, I can provide you classes. I have code for all my base classes that own CAPTION that shortens CAPTION like the settings in report and put the full caption into it's tooltiptext property. But this is not good for editing a value in a textbox etc. And you must change the caption on each record move. What is the tricky part.
>I mean, if it is just for display, you could put a label over a textbox or shape and make it look like a textbox.
>
>If you like to test the classes, PM me for contact.
>Lutz

Lutz, thanks, but it turns out that the 'control' that I'm using actually grows the width based on the length of the text in it. I did not know that it would do that.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform