|
Hi All:
I just faced a weird
problem of toplevel. I use Visual TCL to write two toplevels in a same
project, one is "Main GUI", the other is "connection dialog".
In Main GUI, I add a menu, and named
"Connect...", When I press menu item "connect", the "connection
dialog" will show up. This behavior works very well when I test in
Visual Tcl environment.
But, When I run it
on Activestate Tcl, it works not so good.
1. When I press menu item "connect..." first
time, the dialog will show up, and I click "X" button on the top-right corner to
close the dialog.
2. Okay, Then I click the menu item
again, weird.... Nothing happened, the "Connection Dialog" does not show
up.
3. So, I click the menu item third time....
IT SHOWS UP.., Then I click "X" button on the top-right corner to close the
dialog again...
4. I click the the menu item again, weird.... Nothing
happened, the "Connection Dialog" does not show up.
....
I fall into this weird cycle. Can anyone
please kindly help me to jump out this weird cycle.....
If you need my source, I will be glad to
send it to you.
Best Regards,
Mark |
