Hello all,

how do I set the background color of the textctrl

eg.

 my $query = Wx::TextCtrl->new( $child, -1, '');
  
  $query->SetBackgroundColor(Wx::Colour->new('red'));

this does not work, as perl complains it cannot locate the object method 
"SetBackgroundColor".

FYI : I do not know c++, and I am just learning how to use Wx.

your help is greatly appreciated.

thanks,

Jeremy


_________________________________________________________________
Exercise your brain! Try Flexicon!
http://puzzles.sympatico.msn.ca/chicktionary/index.html?icid=htmlsig

Reply via email to