Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Import Resource Script
Enterprise Architect supports the import and export of Microsoft Windows Resource Scripts (as .rc files), which contain the Win32® dialog definitions (those with the stereotype «win32Dialog») for an application's graphical user interface. Dialog resources are imported and exported for a specific language, defaulting to the locale of the current computer system.
Access
Ribbon |
Code > Source Code > Import Code > Windows .RC File |
Context Menu |
Right-click on a Package | Code Engineering | Import Resource Script Right-click on a Screen element | Code Engineering | Synchronize with Code |
Keyboard Shortcuts |
F7 (synchronize element with code) |
Import dialog resources from a .rc file
Option |
Action |
See also |
---|---|---|
Resource File |
Click on the button and locate the .rc file to import the screen elements(s) from. |
|
Resource ID |
Either:
|
|
Language |
Click on the drop-down arrow and select the language version (such as English - United States) of the dialog(s) to import. |
|
Import |
Click on this button to import the screens from the resource file. The progress of the import is reported in the field underneath the 'Language' field. |
Export a dialog to a .rc file
Option |
Action |
See also |
---|---|---|
Screen ID |
Defaults from the Win32UI ID Tagged Value of the selected Screen element. (If the dialog does not have this ID, open the 'Win32UI' page of the element's 'Properties' dialog and provide a value for the ID tag.) |
|
Resource File |
Click on the button and locate the .rc file into which to export the screen element(s). If the element was previously imported, this field defaults to the source file. |
|
Language |
Click on the drop-down arrow and select the language version (such as English - United States) of the exported dialog. |
|
Export |
Click on this button to export the screens from the resource file. The progress of the export is reported in the field underneath the 'Language' field. |
Notes