Hi,

within ListCtrl and other objects you can use predefined wxColour-Values, but 
this are only a few:

wxBLACK


wxWHITE


wxRED


wxBLUE


wxGREEN


wxCYAN


wxLIGHT_GREY


In wxColourDatabase are much more defined. How can I use one of that? I tried 

$panel->{ListCtrl}{"list"} -> SetItemBackgroundColour( 1, 
Wx::ColourDatabase->Find("GOLD"));

but this returns: 
Can't locate object method "Find" via package "Wx::ColourDatabase"

So I placed this in my code:

use Wx::ColourDatabase;

And got:

Can't locate Wx/ColourDatabase.pm in @INC (@INC contains: C:/Perl/lib 
C:/Perl/site/lib .)


So please tell me what I'm doing wrong.

Regards Daniel





      Heute schon einen Blick in die Zukunft von E-Mails wagen? 
www.yahoo.de/mail

Reply via email to