wxStyledTextCtrl

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
LK
In need of some credit
In need of some credit
Posts: 6
Joined: Wed May 17, 2006 2:40 am

wxStyledTextCtrl

Post by LK »

how to implement a wxStyledTextCtrl text box multiline and add it to my base app ?

thx you anyway
benedicte
wxWorld Domination!
wxWorld Domination!
Posts: 1409
Joined: Wed Jan 19, 2005 3:44 pm
Location: Paris, France

Post by benedicte »

maybe you could have a look at the wx\contrib\samples\stc directory where you can find a simple application using wxStyledTextCtrl.

You don't create any text control widget, wxStyledTextCtrl is the widget itself.
Derive a class from wxStyledTextCtrl to set specific options/behaviours and create an object of this type where you want your text editor to be.
Add the event handlers you need.
That's all!
Post Reply