|
|
|||||||
Hello, I am using the following messagebox with a 10 second timeout. The default button should be "No" but if I let it time out "Yes" is selected. Any help? I've this works the same on v4.12 and v4.21 $x=messagebox("This workstation's home office will be the $Office.@crlf@crlf" + "Would you like to change this workstation's home office?", "SS&D Windows XP Rollout",4388,10) if $x=7 "NO" ? else "YES" ? endif Thanks, in advance, for your help, Scott |
||||||||
|
|
|||||||
If it the box times out, it returns -1. quote: |
||||||||
|
|
|||||||
When the dialog comes up, you should notice the heavy line around the No button so the default is working properly. If you let it timeout, then it returns -1, not the default. |