On Oct 1, 2006, at 10:48 AM, Brad Rhine wrote:
On Oct 1, 2006, at 11:55 AM, Robert Poland wrote:
In a empty window I have this code;
Dim Result As Integer
// Yes and No = 4
// Caution icon = 48
// No default = 768
Result=msgBox ("This is a test.",820,"")
msgbox "My Results: " +str(Result)
quit
When I run it I get a default button (Yes). Is this a BUG or what.
You might have better luck with the MessageDialog class. It allows
a lot more flexibility and is more customizable than the simple
MsgBox.
--
Brad Rhine
[EMAIL PROTECTED]
http://bradrhine.com
Tangelo: Web Publishing... With A Twist!
It appears that MessageDialog doesn't have a default button function.
Also After digging around I see that setting the MsgBox Default to 0
there is no default button although the Yes button is highlighted
indicating (falsely) that it is the default.
I guess the "FIX" is to always have a default button.
Robert Poland
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>