0

Hi, I'm using wxPython (the latest version) and was wondering how to get rid of the scrollbar on the wx.TextCtrl (multiline) object. I couldn't find anything with Google or the search on the forums. Thanks!

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by kushyer
0

I think you have to use one of the styles (similar to, or maybe in addition to, the one used to make it multiline in the first place: TE_MULTILINE, I think it was).

I'm curious as to how to make them appear only when there is sufficient text for it. I've searched for such styles and haven't found any that work.

Maybe there's another way to do what you want.

To use more than one, try something like this:
wx.TE_MULTILINE | wx.TE_CENTER

I'm not sure which one you need, though, if this will even work.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.