Menu

#2117 -default option

obsolete: 8.4.13
open
5
2006-09-26
2006-09-26
Anonymous
No

submitted by Uwe Kirschner uwe.kirschner@gmx.net

Try this on Mac OS X:
tk_messageBox -message "Hello world" -type yesnocancel -default
cancel

will not work. But:

tk_messageBox -message "Hello world" -type yesnocancel -default
no

will work.

It seems that setting -default to the last button of -type will cause the
bug. I compared the message.tcl in versions 8.4.10 and 8.4.13 and
discovered that there has been some extra -default behaviour introduced.
I could not find the exact cause, though.

This bug applies to both 8.4.13 and 8.5.a4

regards, Uwe

Discussion

MongoDB Logo MongoDB