Hi all,
I have enabled scroll for multi line text control. The text control is been updated at a speed of 200 lines/minute.
I want to Stop the scrolling i.e freeze at the current line and resume the scroll on a button click. I have created a button to handle stop scroll and scroll.
Kindly help me in this regard.
~ Johnnie
Stop Scroll in TextBox
Stop Scroll in TextBox
--johnniealan --
-
- Ultimate wxWidgets Guru
- Posts: 672
- Joined: Tue Aug 31, 2010 6:22 am
- Location: Belgium
Do you just want to avoid scrolling the control, or prevent the user from modifying it ?
In the second case, you could disable the control. But I don't think the first case is feasible with a wxTextCtrl.
If you want to avoid the scroll, you will probably have to implement your own control, based on a wxScrolledWindow...
In the second case, you could disable the control. But I don't think the first case is feasible with a wxTextCtrl.
If you want to avoid the scroll, you will probably have to implement your own control, based on a wxScrolledWindow...