We have failed to prevent the scroll bars of a wxStyledTextCtrl being displayed.
Is it possible to prevent the scroll bars appearing?
Barry
We have failed to prevent the scroll bars of a wxStyledTextCtrl being displayed.
Is it possible to prevent the scroll bars appearing?
Barry
Barry Scott:
We have failed to prevent the scroll bars of a
wxStyledTextCtrl being displayed.
Is it possible to prevent the scroll bars appearing?
For the horizontal scroll bar:
SetUseHorizontalScrollBar(0)
The vertical scroll bar appears automatically when there are more lines
of text to display than space available and will disappear if there is no
need for scrolling.
Neil
We have failed to prevent the scroll bars of a wxStyledTextCtrl being
displayed.
Is it possible to prevent the scroll bars appearing?
There's
void SetUseHorizontalScrollBar(bool show);
And the vertical scrollbar won't show if there is not enough text to scroll.
If that is not what you are after then you can try using
// Set the vertical scrollbar to use instead of the ont that's built-in.
void SetVScrollBar(wxScrollBar* bar);
// Set the horizontal scrollbar to use instead of the ont that's
built-in.
void SetHScrollBar(wxScrollBar* bar);
And then hiding them?
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!