Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Perl (http://www.go4expert.com/forums/perl/)
-   -   Opening Multiple Windows in Perl Tk (http://www.go4expert.com/forums/multiple-windows-perl-tk-t19425/)

terrylau 15Sep2009 11:36

Opening Multiple Windows in Perl Tk
 
I've got a text file in this following format :

Field Data
1 2
1 3
1 4
2 5
2 6
3 2
3 3
3 4

I would like to open separate windows for each of the field...
meaning :
window1 (for field1) will display 2,3,4
window2 (for field2) will display 5,6
window3 (for field3) will display 2,3,4

I've read the file and load into two separate arrays - @field and @data.

I'm using window1 as the main window and the rest as toplevel windows.
I've managed to do window1 but the still having problem to proceed with the rest. Appreciate any snippets or guidance to start with as still new with Perl n Tk. Thanks in advance...

ungalnanban 19Feb2010 12:29

Re: Opening Multiple Windows in Perl Tk
 
The given data is not enough for me. give your code I will clear the error.


All times are GMT +5.5. The time now is 02:08.