Create a diagnostics button
At runtime, the diagnostics list shows information messages, warning messages, error messages and audit messages. The operator can use the diagnostics buttons to clear the messages in the list. There are two types of diagnostics buttons:
Clear
and Clear All
.When the operator presses the
Clear
button, the selected message is cleared. When the operator presses the Clear All
button, all the messages in the system, including those in the currently selected list, are cleared.
TIP:
The default [DIAGNOSTICS] graphic display contains a Diagnostics list and the Clear and Clear All
Diagnostics
buttons. You can use the [DIAGNOSTICS] display as is, or modify the appearance of the buttons in the display. Or, you can create your own graphic display containing a Diagnostics list and Diagnostics
buttons that you create.To create a diagnostics button
- In theGraphics Displayeditor, selectAdvanced > Diagnosticsfrom theObjectsmenu, and then chooseClearorClear All.
- Drag the mouse to position and draw a rectangle the general size and location you want the button to be.
- Double-click the button to open itsPropertiesdialog box.
- In thePropertiesdialog box, specify how the button looks.
Provide Feedback