WxTextCtrl configured to wxTE_MULTILINE | wxTE_READONLY | wxTE_RICH2, use AppendText () can increase the string, but wxTextCtrl automatically empty.How to display more content?
You sure it is empty, isn't the text just scrolling out of view?
The project is to use the the wxTextCtrl display data received, each received an increased line shows the data content of this frame. Requires a lot of display space, there is no other solution?
You give the control as much space as you can and then the scroll bars can be used to access text which is "off" the screen.
Or maybe I don't understand what your problem is - maybe a small sample application - MakingSampleApps - wxPyWiki
Tthe text just scrolling out of view.Thank you for your reminding.
在 2012年12月20日星期四UTC+8下午4时28分14秒,werner写道:
···
On 20/12/2012 07:56, 杨勇 wrote:
WxTextCtrl configured to wxTE_MULTILINE | wxTE_READONLY | wxTE_RICH2,
use AppendText () can increase the string, but wxTextCtrl
automatically empty.How to display more content?
You sure it is empty, isn’t the text just scrolling out of view?
The project is to use the the wxTextCtrl display data received, each
received an increased line shows the data content of this frame.
Requires a lot of display space, there is no other solution?
You give the control as much space as you can and then the scroll bars
can be used to access text which is “off” the screen.
Tthe text just scrolling out of view.Thank you for your reminding.
在 2012年12月20日星期四UTC+8下午4时28分14秒,werner写道:
···
On 20/12/2012 07:56, 杨勇 wrote:
WxTextCtrl configured to wxTE_MULTILINE | wxTE_READONLY | wxTE_RICH2,
use AppendText () can increase the string, but wxTextCtrl
automatically empty.How to display more content?
You sure it is empty, isn’t the text just scrolling out of view?
The project is to use the the wxTextCtrl display data received, each
received an increased line shows the data content of this frame.
Requires a lot of display space, there is no other solution?
You give the control as much space as you can and then the scroll bars
can be used to access text which is “off” the screen.