[wxPython] How can I turn off the scroll bars of a StyledTextControl?

No matter what we try we cannot get the StyledTextCOntrol to lose its
scroll bars. In our APP this is bug problem as we have a pair of
STC's side-by-side that track each other. We have two sets of scroll
bars and that one set too many.

Is this a bug or have we missed a trick?

    BArry

Barry Scott wrote:

No matter what we try we cannot get the StyledTextCOntrol to lose its
scroll bars. In our APP this is bug problem as we have a pair of
STC's side-by-side that track each other. We have two sets of scroll
bars and that one set too many.

Is this a bug or have we missed a trick?

You can't turn off the vertical scrollbar but wxSTC has the ability to use its own internal scrollbars, or to use external scrollbars that you manage yourself. See the wxDynamicSashWIndow sample in the demo for an example. I'm not sure how it will work if you have two wxSTCs updating the same scrollbar though...

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!