PCB Matrix Format
by Numerical Innovations, Inc. (www.numericalinnovations.com)
Message Box

Displays a modal dialog box with several modes:OK,WARNING, and ERROR
<MessageBox></MessageBox>

Message box - Attribute Description
TYPE Choose one the Messagebox type: OK, WARNING, ERROR. Default: OK
TITLE Top title for message box. Required. Global Variables may also be used.
RETURN The variable to save for later use (can be any standard XML name).

MESSAGE


Example: Display a standard Message Box

<MessageBox type="Ok" title="My Title..">Here's my description text for the message box.</MessageBox>



Example: Display an Error Message Box

<MessageBox type="error" title="Invalid or Missing Data...">Unable to complete the app due to missing data.</MessageBox>



Example: Outputs a formatted text Message Box

<MessageBox type="error" title="sGlobalTitle" >
A total of {{importedLayerCount}}-Layers were imported.\n\nThe following errors were detected:\n{{importedErrors}}
</MessageBox>

The resulting message is displayed in the modal/dialog box (assuming pre-assigned values):

A total of 8-Layers were imported.
The following errors were detected:
topside.gbr --- missing dcode 22
bottom_mask.gbr --- empty file. nothing to do.