There's not really much too it.  But here it is:

# Creates the label for the About "button"
$MAIN->AddLabel(
  -name   => "About",
  -notify => 1,
  -bitmap => 1,
  -top    => $top,
  -left   => $left,
  -width  => $width,
  -height => $height,
);

sub About_Click {
  Help_About_Click();
}

This creates a label that I use to fire up the about
dialog.  The label is "hidden" behind a bitmap.  As
long as I apply the bitmap to the background prior to
creating the label, the label's messages are received.

Jeremy Blonde
[EMAIL PROTECTED]

--- "Thomas, Timothy B" <[EMAIL PROTECTED]>
wrote:
> Jeremy - can you post your code that uses it?
>       Thanks,
>               Tim
> 
>
-------------------------------------------------------------------------------------------------
> Tim Thomas
> Unix Systems Administrator
> Lockheed Martin EIS · Denver Data Center
> 303-430-2281
> mailto:[EMAIL PROTECTED]
>
-------------------------------------------------------------------------------------------------
> 
> 
> -----Original Message-----
> From: Jeremy Blonde [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 18, 2001 4:59 PM
> To: perl-win32-gui-users@lists.sourceforge.net
> Subject: Re: [perl-win32-gui-users]
> Win32::GUI::Label Click()/DblClick()
> 
> 
> Last time i tried it, I could get Click to work, but
> not DblClick.
> 
> Jeremy Blonde
> [EMAIL PROTECTED]
> 
> --- "Thomas, Timothy B" <[EMAIL PROTECTED]>
> wrote:
> > 
> > Do the Click() or DblClick() events work for the
> > Win32::GUI::Label object yet?
> > My tests seem to indicate no, but the events are
> > listed in the documentation.
> > 
> >     Tim
> > 
> >
>
-------------------------------------------------------------------------------------------------
> > Tim Thomas
> > Unix Systems Administrator
> > Lockheed Martin EIS · Denver Data Center
> > 303-430-2281
> > mailto:[EMAIL PROTECTED]
> >
>
-------------------------------------------------------------------------------------------------
> > 
> > 
> > _______________________________________________
> > Perl-Win32-GUI-Users mailing list
> > Perl-Win32-GUI-Users@lists.sourceforge.net
> >
>
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> 
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
>
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> 
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
>
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/

Reply via email to