From: <Kev...@Al...> - 2001-02-07 13:03:39
|
Thomas, It is possible to dynamically create windows. I wrote the accompanying script in response to a query quite a while ago. It creates 4 windows and hides all but one of them. Clicking OK brings up the next window. Hope this helps. Kev. tho...@ba... on 07/02/2001 12:03:17 To: per...@li... @ INTERNET cc: Subject: [perl-win32-gui-users] Event routines Is Win32::GUI designed to support something like this: $subtxt = "Simple_Click"; eval qq ( sub main::$subtxt { print "button clicked\n"; $W->SimpleLabel->Text("Got a click"); } ); (Actually this piece of code does not work...) The problem is that I would like to create a number of controls dynamically because I know the number of controls to create only at runtime. regards, Thomas _______________________________________________ Perl-Win32-GUI-Users mailing list Per...@li... http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users |