Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating an autosizing editbox
Message
 
 
To
22/03/2005 17:05:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00998157
Message ID:
00998282
Views:
33
Malcolm,

If you turn off the scrollbar at the end the text will reflow and might end up a line or two shorter then the edt would hold, but you'd at least have one that was big enough.

>Well, that's a very, very clever solution. Thinking outloud: I can loop expand my editbox one line (determined by fontmetric) at a time until the scroll bar indicates its inactive. I will have to adjust the width of my editbox to account for the scrollbar which I will then remove when I'm done. All behind the cover of LockScreen = True, of course.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform