Cool, I'll try adding the control to the window. Doesn't really matter to
the script, just visually. Does the button get hidden behind the tab strip
though?

-----Original Message-----
From: Johan Lindstrom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 9:21 AM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: Re: [perl-win32-gui-users] GUI button problems


Peter wrote:
>depresses). I am guessing the problem is because it is nested on a Tab, but
>I'm not sure. And if that is it, whatis the proper way to call it? In the
>script below, if you click on this button you do NOT get any output to the
>console.

I had the same problem. My workaround was to simply not insert the control 
i the TabStrip but in the Window itself. The only difference, so far as I 
could tell, is that the left/top is relative to the Window instead of the 
TabStrip interior. Either way you'll have to keep track of which controls 
belong to which tab yourself.

Stuff for making that easier: If you look through the archives you'll find 
a posting from Laurent Rocher with a module for managing TabStrips. I think 
that involves using your current approach, so maybe the missing-event 
problem is solved by using it, I don't know. Or you can download the Oasis 
source and use the Win32::GUI::TabStripGroup class.


/J

--
Johan Lindström, Sourcerer, Boss Casinos Ltd, Antigua
[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

Reply via email to