Message Box Constants


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jeff Cinelli (66.82.9.47) on November 12, 2003 at 17:21:37:

I think there may be a problem with some of the msgbox constants, or else I'm doing something wrong. I want to create a simple message box, with Yes and No buttons, and default to no. Here's the code:

LENGTH 12.0 & LOCAL X
CLEAR
X=MSGBOX('Are you OK?','Question',260)
RUN 'QMONITOR'

When I execute this program, I get garbled results. If I change the 260 to a 4, then it works OK. As soon as I add on the 256 to default to the second button, it falls apart. Any ideas?



Follow Ups: