Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^4: wxPerl: is wxListCtrl Get/SetItemFont implemented? and further important questions

by HelenCr (Monk)
on Mar 25, 2013 at 21:50 UTC ( #1025397=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    EVT_BUTTON ($self,  $btnBold, sub { $self->OnBold });
    EVT_BUTTON ($self, $btnRed, sub { $self->OnRed });
  2. or download this
    sub OnBold {
       my $this = shift;
       my $f = $this->{listControl}->GetItemFont(0);
       my $this = shift;
       $this->{listControl}->SetItemTextColour(0, wxRED);
    } #1    end sub OnRed
  3. or download this
    Can't locate object method "GetItemFont" via package "Wx::ListCtrl" at
    + Set item font line 59
       MyFrame::OnBold('MyFrame=HASH(0x2662734)') called at Set item font line 31
       MyFrame::__ANON__('MyFrame=HASH(0x2662734)', 'Wx::CommandEvent=SCAL
    +AR(0x2aef33c)') called at Set item font line 78
       eval {...} called at Set item font line 78

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025397]
[chacham]: How many man-hours would you estimate you have invested in learning Perl? what an annoying poll
[chacham]: s/annoying/ugly

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2017-04-30 20:56 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (542 votes). Check out past polls.