Hi,
I would like to set the focus onto an entry field upon a certain window appears and i tried this:
after idle [list focus -force .operatorWindow.opEntry]
now, this does not work.... but
GUI::Info_DialogWIN "focus!"
after idle [list focus -force .operatorWindow.opEntry]
works just fine, the Info_DialogWIN proc just displays an information message that takes the focus away from . I ssume....so how can i get the focus on .operatorWindow.opEntry?
I've tried setting it on .operatorWindow first but that doesn't seem to work either...
Help would be appreciated!
Thanks
Ron
Hours of planing can save weeks of coding
I would like to set the focus onto an entry field upon a certain window appears and i tried this:
after idle [list focus -force .operatorWindow.opEntry]
now, this does not work.... but
GUI::Info_DialogWIN "focus!"
after idle [list focus -force .operatorWindow.opEntry]
works just fine, the Info_DialogWIN proc just displays an information message that takes the focus away from . I ssume....so how can i get the focus on .operatorWindow.opEntry?
I've tried setting it on .operatorWindow first but that doesn't seem to work either...
Help would be appreciated!
Thanks
Ron
Hours of planing can save weeks of coding