Page 1 of 1

gui messages on datacad 17

PostPosted: Mon Apr 18, 2016 12:47 pm
by barak
is there graphic msgbox on datacad 17?
how can i use it?

Re: gui messages on datacad 17

PostPosted: Mon Apr 18, 2016 2:45 pm
by David A. Giesselman
Function Msg_Dlg (ButtonType, MessageType : IN integer; Message : str255) : integer; BUILTIN 246;

Case ButtonType of:

  1. YesNoCancel
  2. OKCancel
  3. AbortRetryIgnore

Case MessageType of:

  1. Warning
  2. Error
  3. Information
  4. Confimation
  5. Custom

Returns:

  1. Yes
  2. No
  3. Cancel
  4. OK
  5. Abort
  6. Retry
  7. Ignore
  8. None