wxTextCtrl what wrap the text?
Volker Bartheld
dr_versaeg at freenet.de
Wed Oct 17 02:52:18 PDT 2007
Hi!
On Tue, 16 Oct 2007 19:16:59 +0200, Hola wrote:
> 0. I use the psi. What I can write similar input text box?
> When I write a text bigger than one line the box growing to 2 or 3 lines.
> 1. next what I can do to make a wrap big text? without horizontal scrolling
Have a look at wxTextCtrl (http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrl),
wxRichTextCtrl (http://www.wxwidgets.org/manuals/stable/wx_wxrichtextctrl.html#wxrichtextctrl),
wxLogTextCtrl (http://www.wxwidgets.org/manuals/stable/wx_wxlogtextctrl.html#wxlogtextctrl) and
wxHtmlWindow (http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindow).
They support a number of styles - maye there's something among them that suits you.
> 2. when hit enter a would like to add text to big wxtextCtrl.
Use a wxTextCtrl (http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrl)
and set the wxTE_PROCESS_ENTER style.
Cheers,
Volker
--
mailto: V B A R T H E L D at G M X dot D E
More information about the wx-users
mailing list