Originally posted by Dave Biggs
View Post
Announcement
Collapse
No announcement yet.
textbox scrollbars hidden until needed?
Collapse
X
-
Originally posted by Chris Holbrook View Postfunny, you can do it with Listboxen but...
.. but this string is a path which may or may not have spaces.
Leave a comment:
-
I agree with Bud, and I only discovered this happenstance yesterday while updating some old code to concepts I now understand.
Makes for a cleaner looking form (but most of us overlook the scrollbars because they have always been there) so when I tried RichEdit, I lost an hour trying to figure out why scrollbars were not showing until I either spaced off screen, or $CR down off screen and it hit meno more greyed out scrollbars....I like it.
Leave a comment:
-
Use a rich edit textbox instead. It auto hides scrollbars when they're not needed.
Leave a comment:
-
funny, you can do it with Listboxen but when the scrollbar is hidden the space which it would have occupied is filled with white or something very like it, just as ugly.
Will have to go to plan B, using a label and wrapping the long string inside it - I know that labels have a wordwrap property but this string is a path which may or may not have spaces.
Leave a comment:
-
Originally posted by Adam J. Drake View Postvisible
Leave a comment:
-
I guess I've just gotten used to it being disabled and visible and enables itself if needed...
Leave a comment:
-
textbox scrollbars hidden until needed?
Sad to relate that I have no idea how to draw a textbox whose scrollbars appear only when needed. So that for example, the horizontal scrollbar appears if the text added is too long for the width of the textbox.Tags: None
Leave a comment: