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.






[EMAIL PROTECTED] on 07/02/2001 12:03:17
To: perl-win32-gui-users@lists.sourceforge.net @ 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
Perl-Win32-GUI-Users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users


Attachment: dynamic.pl
Description: Binary data

Reply via email to