Using Dialog Boxes in DIAdemPrimary Software: DIAdemPrimary Software Version: 9.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: Where can I find more information on dialog editor in DIAdem? How do I pass a value from dialog box to DIAdem script? Solution: What is dialog editor in DIAdem? Dialog editor is used to create user dialog boxes. In user dialog boxes, you can make entries and select various options, while a DIAdem script is running. Unlike the standard dialog boxes, for example message display, you can design user dialog boxes to meet your own requirements. DIAdem saves user dialog boxes in SUD files. Use the SUDDlgShow command to open user dialog boxes in DIAdem scripts. Use DIAdem variables to connect user dialog boxes to DIAdem so you can make default settings in the user dialog box or process the return values. How does the dialog box sends a value to DIAdem script? Dialogs can access the DIAdem variables and can read and write to those variables, thus to exchange data from a dialog to DIAdem script you need to make use of those DIAdem variables. If you have a textbox or a numeric box you can specify a variable in the "variable" property and that will pass a value to that variable, which is accessible in DIAdem script. If you want to pass a value from a button, you do not have a "variable" property that you can change but you can make changes to an event for a button and set a global variable that can be then used by DIAdem. To access the events, you can go to the dialog editor and select the events tab. This tab shows all the events available for any button and you can modify those event by clicking on the respective event. How do set the position of dialog on the screen? There are two parameters in the dialog properties called "Top" and "Left" that determine the position of the upper left corner of the dialog on the screen. How do I specify a tab order for the buttons on my dialog? How to I focus a button? To focus a button you need to specify it as first value in the tab order. To set the tab order, right click on the button and select Tabulator Sequence Where can I get more help on dialog editor? DIAdem»Help»Contents»DIAdem Panels»DIAdem SCRIPT»Dialog Editor Related Links: KB 3C25L97H: How Can I Debug DIAdem User Dialogs (SUD) and DataPlugins? KB 36B6UQDZ: Tab Control in SUD Dialogs Attachments:
Report Date: 03/30/2005 Last Updated: 10/02/2007 Document ID: 3JT8AVRY |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
