in reply to Re^3: Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings?
in thread Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings?
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings?
by jmlynesjr (Deacon) on Mar 27, 2013 at 15:26 UTC | |
Re^5: Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings?
by Anonymous Monk on Mar 27, 2013 at 07:49 UTC |