Creating a User Dialog Box

DIAdem 2018 Help


Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)


DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help

You can define dialog boxes and use these user dialog boxes to control the course of a DIAdem script. Complete the following steps to generate a user dialog box:

  1. Select DIAdem SCRIPT.

  2. Select Edit»Create Dialog Box.

  3. Select View»Catalog.

  4. Click and drag the Standard Dialog from the Catalog window into the dialog box interface.

  5. Select File»Save As and save the file as Test.sud.

  6. Select View»Preview to test the layout.

  7. Close the view with View»Preview.

  8. Select View»Test in DIAdem to test the functions of the user dialog box.

  9. Close the dialog editor and switch to DIAdem.

  10. Select File»New»VBS Script to create a new script.

  11. Enter or copy the following text into the script editor:

    Call SUDDlgShow("Dlg1","Test.sud")
  12. Select Script»Run VBS Script to start the script.

The script uses the SUDDlgShow command to display the user dialog box. The script transfers the user dialog box with the default name Dlg1 in the dialog editor as the first parameter. As the second parameter, the script transfers the filename of the user dialog box file.

Note  You can save several user dialog boxes in one user dialog box file in the dialog editor. For an overview of the user dialog boxes, select Dialog Box»Dialog Box Overview in the dialog editor. Click the (DialogCode) property in the properties window to change the name of a user dialog box.

Examples

Analyzing and Displaying Channels Section by Section | Checking Dialog Box Entries | Dynamic User Dialog Box | Translating User Dialog Boxes | User Dialog Box for Entering Text and Numbers | User Dialog Box for Sequence Control | User Dialog Box in DIAdem VIEW | User Dialog Box in VIEW for the Calculation of the FFT and Harmonic Frequencies | User Dialog Box with Changing Background Color | User Dialog Box with Curve Preview | User Dialog Box with Extended Table | User Dialog Box with Internet Explorer | User Dialog Box with Scalable Table | User Dialog Box with Selection Lists | User Dialog Box with Selection Lists | User Dialog Box with Subdialog Boxes | User Dialog Box with Tables | User Dialog Box with Tree | Wizard for Tolerance Evaluation

WAS THIS ARTICLE HELPFUL?

Not Helpful