Post Reply 
MSGBOX with OK_Cancel
06-29-2015, 10:08 AM
Post: #1
MSGBOX with OK_Cancel
hi,
what's the correct syntax for MSGBOX() with OK, Cancel keys?

With
Code:

ch:= MSGBOX("Another calculation?", OK_Cancel);
IF (ch<>0)  THEN changeData(); END;
I get syntax error...

Thanks!
Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
06-29-2015, 10:41 AM (This post was last modified: 06-29-2015 10:42 AM by DrD.)
Post: #2
RE: MSGBOX with OK_Cancel
Hi Salvo,

Use MSGBOX("Your string",1) to put Cancel and OK in the soft keys.
Use 0, to omit the Cancel soft menu item.

-Dale-
Find all posts by this user
Quote this message in a reply
06-29-2015, 10:54 AM
Post: #3
RE: MSGBOX with OK_Cancel
(06-29-2015 10:41 AM)DrD Wrote:  Hi Salvo,

Use MSGBOX("Your string",1) to put Cancel and OK in the soft keys.
Use 0, to omit the Cancel soft menu item.

-Dale-

ok, thank you, it works!

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)