Thanks Johan, that did it. Joe Frazier, Jr. Technical Support Engineer Peopleclick Service Support
Tel: +1-800-841-2365 E-Mail: mailto:[EMAIL PROTECTED] > -----Original Message----- > From: Johan Lindstrom [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 15, 2004 3:36 PM > To: perl-win32-gui-users@lists.sourceforge.net > Subject: RE: [perl-win32-gui-users] Wierdness with HyperLink > > > At 19:57 2004-01-15, Frazier, Joe Jr wrote: > >Problem 2 is even more wierd. When I run the exact same > code with "use > >Win32::GUI::Loft::Design;", the link does not show up (this > is striped > >down version of a large app) at all! The problem seems to be that > >$linkClass does not get defined, so the link object does not > get created > >properly. Anyway, I was hoping Johan would check into this > with TGL and > >wondering if someone else can reproduce the issue with Win32::GUI. > > I added a "or die" and found that the class indeed isn't created. > > The -name seems to be the bad guy. Maybe it's the fact that > it has the same > name an existing Perl module, I don't know. But if you change it to: > > my $linkClass = new Win32::GUI::Class( > -name => "MY VERY OWN Win32::GUI::HyperLink", # <-- ! > -extends => "STATIC", > -cursor => $linkCursor, > ) or die; > > it doesn't die. > > > >Both worked fine on 665 and whatever version of TGL I had > before (probably > >about a year old). I am currently using > > The reason is probably that TGL uses the > Win32::GUI::HyperLink module. > Without the TGL code, that piece of code isn't included and > doesn't clash > with your own Win32::GUI::HyperLink declaration. > > > /J > > -------- ------ ---- --- -- -- -- - - - - - > Johan Lindström Sourcerer @ Boss Casinos [EMAIL PROTECTED] > > Latest bookmark: "Professor Lives Life As a Cyborg" > <http://story.news.yahoo.com/news?tmpl=story&u=/ap/20040110/ap _on_hi_te/internet_profile_cyborg_1> dmoz (1 of 30): /Computers/Software/Fonts/ 96 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users