in reply to How to get rid of a TopLevel window
Change $top_frame->destroy; to $toplevel->destroy; and it will work. You see you are destroying the frame in the new TopLevel window but not the new TopLevel window itself.
Update: BlueBlazerRegular beat me to it... That's what I get for trying an example out before posting it. ;)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to get rid of a TopLevel window
by BlueBlazerRegular (Friar) on Sep 11, 2002 at 16:25 UTC |