Re: wxEuphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thanks guys.... however....

	procedure onPaint_HelloWin( atom this, atom event, atom it, atom event_type ) 
-- this works in paint event..on the StaticText only... not on wx_puts 
--		set_back_color(SomeText, Parchment )  
--		set_fore_color(SomeText,BrightBlue)  
--		wx_puts( {this,10,20}, "HelloWin, World!") 
-- ************ this does not display  
-- ************ produces a rapid display (flash) of the window 
		atom dc = create (wxPaintDC,this) 
		begin_drawing(dc) 
			set_back_color(dc, BrightWhite) 
			set_text_color(dc, BrightBlue) 
			wx_puts( {this,10,20,dc}, "HelloWin, World!") 
		end_drawing(dc) 
		delete_instance(dc) 
	end procedure 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu