Hello,
        
 If you want your label widget to respond to click or double click event,
you should try to use the 
   "-notify=>1"  parameter when creating your LabelWidget.

ex:
        ...
        $Window->AddLabel(-name => "MyLabel",
                        -notify => 1,
                              -width => ... , ...);

        ...
        sub MyLabel_Click{
                #Processing click on label...
        }
        sub MyLabel_DblClick{
            #Processing Double Click on Label...
        }

Benoit

-----Original Message-----
From: Dan Havey [mailto:[EMAIL PROTECTED]]
Sent: jeudi 18 novembre 1999 19:07
To: [EMAIL PROTECTED]
Subject: [perl-win32-gui] Label Oject Click Event


Greetings,

Has anyone been able to get the Click Event to fire on a Label???
If so I would certainly appreciate having the trick shared with me.

Thanks in Advance,

Dan the Man

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

**** DISCLAIMER **** 
"This e-mail and any attachments thereto may contain information 
which is confidential and/or protected by intellectual property 
rights and are intended for the sole use of the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, 
total or partial reproduction, communication or distribution in any form) 
by persons other than the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either 
by telephone or by e-mail and delete the material from any computer. 
Thank you for your cooperation."


Reply via email to