Re: Any way of returning the actual individual control name

2009-08-17 Thread Johan Vromans
James McDonald writes: > My ownly reason now is: Just like Mount Everest - Because it's there. I assume you write programs in Intercal and Brainfuck as well :) > No real reason now I know how to identify my controls through GetId and > GetLabel. GetID is preferred since it is always fixed to t

Re: Any way of returning the actual individual control name

2009-08-17 Thread Johan Vromans
James McDonald writes: > $self->{button_1} = Wx::Button->new($self, $KEY1, "1"); > > OK I have figured out how to: > get hold of the button object using $event->GetEventObject() > define a constant and return it using $event->GetEventObject()->GetId > > Is there any way of returnin

Any way of returning the actual individual control name

2009-08-17 Thread James McDonald
$self->{button_1} = Wx::Button->new($self, $KEY1, "1"); OK I have figured out how to: get hold of the button object using $event->GetEventObject() define a constant and return it using $event->GetEventObject()->GetId Is there any way of returning the "button_1" name programatic