|
-
October 13th, 2010, 11:15 AM
#1
Scrollbars outside the window
I would like to have my vertical scrollbars appear outside the textbox area once it is filled with too much text. Instead, they appear inside it and mess the whole text up. How should I do it ?
Thanks.
-
October 13th, 2010, 06:54 PM
#2
Re: Scrollbars outside the window
You certainly can implement the scroll bar yourself using the VScrollBar class. In that case you can place it anywhere you want and completely control its behaviour. But that would mean a vast lot more work compared to simply having the text box handle that itself.
Do you really see no way around that? You could, for instance, set up the text box to have a scroll bar right from the start. The scroll bar would then be grayed until there actually is something to scroll. That way the usable width of the text box would not change.
There is, BTW, no IDE support for the VScrollBar class. That wouldn't make things easier either...
HTH
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
-
October 18th, 2010, 08:06 AM
#3
Re: Scrollbars outside the window
I just made a rule to show text within some limited space so that the scrollbar doesn't ruin my text structure if it appeares. That is until I become more experienced and am able to ignore these kinds of compromise.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|