[wxruby-users] New problem: Newlines.

Tim Mcd lists at ruby-forum.com
Thu Jan 8 22:49:44 EST 2009


Mario Steele wrote:
> You need to make sure that you pass the TE_MULTILINE to the creation of 
> the
> TextCtrl, EG:
> 
> test2 = TextCtrl.new(frame, 10, "Output here!", Point.new(0,
> 501),Size.new(500, 25), TE_PROCESS_ENTER|TE_MULTILINE)
> 
> This will create a Multi-Line Text Control, which can display new lines, 
> if
> you create a TextCtrl without the TE_MULTILINE, it'll create a Single 
> Line
> Text Control, even though the sizer will resize it to look like it's a
> Multi-Line Text control.

Thats good, thanks for that.

 Have any idea about the 'THE_APP' error?
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list