|
From: Thomas, T. B <tim...@lm...> - 2001-01-20 00:25:52
|
it was the -notify option that I needed to make it clickable.
Thanks!
------------------------------------------------------------------------=
----
---------------------
Tim Thomas
Unix Systems Administrator
Lockheed Martin EIS =B7 Denver Data Center
303-430-2281
mailto:tim...@lm...
------------------------------------------------------------------------=
----
---------------------
-----Original Message-----
From: Jeremy Blonde [mailto:sco...@ya...]
Sent: Friday, January 19, 2001 4:28 PM
To: per...@li...
Subject: RE: [perl-win32-gui-users] Win32::GUI::Label =
Click()/DblClick()
There's not really much too it. But here it is:
# Creates the label for the About "button"
$MAIN->AddLabel(
-name =3D> "About",
-notify =3D> 1,
-bitmap =3D> 1,
-top =3D> $top,
-left =3D> $left,
-width =3D> $width,
-height =3D> $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
sco...@ya...
--- "Thomas, Timothy B" <tim...@lm...>
wrote:
> Jeremy - can you post your code that uses it?
> Thanks,
> Tim
>=20
>
------------------------------------------------------------------------=
----
---------------------
> Tim Thomas
> Unix Systems Administrator
> Lockheed Martin EIS =B7 Denver Data Center
> 303-430-2281
> mailto:tim...@lm...
>
------------------------------------------------------------------------=
----
---------------------
>=20
>=20
> -----Original Message-----
> From: Jeremy Blonde [mailto:sco...@ya...]
> Sent: Thursday, January 18, 2001 4:59 PM
> To: per...@li...
> Subject: Re: [perl-win32-gui-users]
> Win32::GUI::Label Click()/DblClick()
>=20
>=20
> Last time i tried it, I could get Click to work, but
> not DblClick.
>=20
> Jeremy Blonde
> sco...@ya...
>=20
> --- "Thomas, Timothy B" <tim...@lm...>
> wrote:
> >=20
> > 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.
> >=20
> > Tim
> >=20
> >
>
------------------------------------------------------------------------=
----
---------------------
> > Tim Thomas
> > Unix Systems Administrator
> > Lockheed Martin EIS =B7 Denver Data Center
> > 303-430-2281
> > mailto:tim...@lm...
> >
>
------------------------------------------------------------------------=
----
---------------------
> >=20
> >=20
> > _______________________________________________
> > Perl-Win32-GUI-Users mailing list
> > Per...@li...
> >
>
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>=20
>=20
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.=20
> http://personal.mail.yahoo.com/
>=20
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Per...@li...
>
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>=20
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Per...@li...
>
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.=20
http://auctions.yahoo.com/
_______________________________________________
Perl-Win32-GUI-Users mailing list
Per...@li...
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
|