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!

Howto : Disable my entire window while an other is active ?

Status
Not open for further replies.

oragonefreet

Programmer
Jul 28, 2008
6
FR
Hello every one !

(i apologize for my english which is not perfect, i guess =^.^=)

When i use tk_chooseDirectory proc, the main window "." can't be used. Button not clickable, neither entries, nothing. But "state" options are not set as "disabled".

I'd like to have to same on the second window i created myself. It's a connection window which asks username and password to the user. And main window widgets may not be used while this little window is open.

I could set as "disabled" all "state" i have but it's not really pretty, and the effect is not the same as in the tk_chooseDirectory proc...

Or maybe i could find the sources of tk_chooseDirectory ? where ?

Thank You,
Oragon Efreet
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top