By default Labels don't respond to any events; you need to specify the
-notify option explicitly to get events.
On 9/7/07, Micah Wilson <top...@gm...> wrote:
> Hello everyone, just getting started with Win32::GUI and I'm having an issue
> getting the _Click event from a label. With a button, you can name a sub
> 'button_name_Click' and that will fire when the button is clicked,
> unfortunately this doesn't work with labels :(
>
> The documentation for label only says:
>
> "
> EVENTS
>
> Common events apply to most windows and controls.
> Click
>
> Click()
>
> [TBD]
>
> "Not much to go on here. :-/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Per...@li...
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> http://perl-win32-gui.sourceforge.net/
>
--
Geoffrey Spear
http://www.geoffreyspear.com/
|