Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

modal dialog help

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am trying to create a modal dialog. The dialog is started from a button as shown in the code below.

.mybutton -command {
wm deiconify .aboutdialog
tkwait window .aboutdialog
}

The code for the dialog is shown below.

wm withdraw .aboutdialog



The problem is the caller window is still active. I can still run the caller window. In true modal dialog, you have to retire the dialog before you can go back to the caller window.
 
Check out thread287-112205, where I describe how to handle this and other issues of creating a modal dialog. - Ken Jones, President, ken@avia-training.com
Avia Training and Consulting, 866-TCL-HELP (866-825-4357) US Toll free
415-643-8692 Voice
415-643-8697 Fax
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top