Opening Multiple Windows in Perl Tk

Discussion in 'Perl' started by terrylau, Sep 15, 2009.

  1. terrylau

    terrylau New Member

    Joined:
    Jul 2, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    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...
     
  2. ungalnanban

    ungalnanban New Member

    Joined:
    Feb 19, 2010
    Messages:
    45
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai
    The given data is not enough for me. give your code I will clear the error.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice