Hi, Its just a misstype, the correct method would be "SetBackgroundColour".
Daniel -----Original Message----- From: Jer A [mailto:[EMAIL PROTECTED] Sent: 24 decembrie 2007 13:53 To: [email protected] Subject: Wx::TextCtrl - custom background color 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=
