Win32 Dialog Simulation

Enterprise Architect supports the simulation of dialogs and screens created with the Win32 Dialog profile to integrate user interface design with system behavior. Dialogs can be programmatically accessed and invoked using Javascript, providing a fully customizable execution of your model.

To interact with the dialogs at runtime the 'dialog' simulation level keyword is used; this can be used for accessing or setting text variables on child controls or showing and hiding of the dialog; for example:

dialog.Login.Show=true;
dialog.Login.Username;
dialog.Login.Username.Text="";
 

Win32 Dialog buttons can be used to trigger signals, firing off events when the button is clicked. Signal arguments can be filled from the dialog input fields, for example, to capture and send a username and password for evaluation.

Learn more

Learning Center topics

(Alt+F1) | Enterprise Architect | Simulation | User Interface |
Overview
Create WIN32 Screen
Enable a WIN32 Screen
Trigger with Buttons
Display Information to Screen
Capture UI Control Input
Run UI Simulation