http://qs1969.pair.com?node_id=417128


in reply to Getting Tk::Toplevel window to disply on top

If you declare/create your $toplevel widget that contains the Progress Bar before the MainWindow it will be in front for it's short life.

HTH- Mark

Replies are listed 'Best First'.
Re^2: Getting Tk::Toplevel window to disply on top
by Anonymous Monk on Dec 23, 2004 at 16:53 UTC
    Can't do that!

    I am using strict, I have to declare $mw before $toplevel!

    I am not exactly sure how you mean!

      Sorry... what I mean is don't make it a child of $mw...

      my $toplevel=MainWindow->new(-title=>'Progress Bar'); my $mw=MainWindow->new(-title=>'Main Window');

      Hope that's clearer, I was just leaving work yesterday when i posted that.

        I see,...Thank you very much Sir

        Mery Christmas and a Happy new year to all.

        Blackadder