Work with complex parts : Display message boxes

Display message boxes
Tip: Use Smalltalk to add a message boxExample: Add a message boxAdd forms
For some applications, you'll want to display a message box to inform the user of something that has or might occur.
Adding a message box
To add a message box to your application:
1.
2.
3.
Changing the settings for the message box
Define what the message box displays by changing its settings:
1.
2.
Connecting the message box to other parts
After you define a message box, you make an event-to-action connection so the message box displays when the event occurs.
Connect the event, such as clicked for a push button, to the prompt action of the Message Box part.