Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property for text controls that is like tooltiptext???
Message
From
19/07/2022 06:33:07
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01684667
Message ID:
01684675
Views:
66
>>>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
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform