Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make editbox scrollbar disappear if not needed?
Message
From
15/04/2012 09:55:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Make editbox scrollbar disappear if not needed?
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01541549
Message ID:
01541549
Views:
91
Is it possible to have an editbox where the vertical scrollbar only appears if necessary?

I believe I can compute how many lines will fit in an editbox, but know of no way in which I can
tell how many lines will be displayed because of the automatic line wrap.

Two things I need to mention:
(1) This editbox is disabled, so I don't have to be concerned with what happens with user input.
(2) I can't use any other control instead, it must be an editbox.

Thanks
Jim Nelson
Newbury Park, CA
Next
Reply
Map
View

Click here to load this message in the networking platform