%MessageBox% Show Routine Code Author: Siegfried
Version: 1 - Date: 2007-02-15
Example call:
%MessageBox% "INFORMATION" "TopBarTitleHERE" "MessageTextHERE"
Remarks:
Message box for simple messages.
Param. 1 = INFORMATION or EXCLAMATION or STOP
Only one "OK" button. Differ by the icon. Returns "next" as variable %BTN%.
Param. 1 = QUESTION
Two buttons: "OK" and "Cancel"
Returns "next" or "cancel" as variable %BTN%.
Use this: "~" as a line break char within your text for the message for multi line messages.
~ = start new line. ~~ = start new paragraph.
NOTE: the variable %result% is not used here and stays intact through this routine to ensure that if the message box is used for user info regarding a pending other routine, its return "%result%" does not get overwritten.
INFORMATION etc. can also be abreviated like info, excl, stop and quest