James: thank you for this serious work.
I ran your program and changed it a bit here and there. It seems that with the vanilla installation (I have DWIM Perl 5.14.2 on Windows 7):
$self->{list_control}->SetBackgroundColour(wxWHITE); $self->{list_control}->SetTextColour(wxBLUE); my $f_list = Wx::Font->new(12, -1, wxNORMAL, wxBOLD, 0, 'Arial'); $self->{list_control}->SetFont($f_list);
works as intended on the list items, but on columns, it will let you set/change the font, but not foreground or background colors. (BTW, how do I check the wxWidgets version?)
I don't feel like recompiling the library, - sounds very scary to me, and also, sometimes I run the programs on other pc's, so this will necessitate recompiling on all of them - that's not practical.
It seems I have no choice but to venture into the Grid (shudder), (where I'm encountering another set of problems, which I'll report soon).
Many thanks for your dedicated work - Helen
In reply to Re^4: Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings?
by HelenCr
in thread Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings?
by HelenCr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |