06-10-2015 01:47 PM
I have created a Dialog box that works well transferring variables but have now come across the need to keep this dialog open while exploring the VIEW and REPORT panels. I understand non-modal dialog boxes allow for this and would like to convert or rebuild my current dialog box to non-modal. Is this possible?
If I have to create a new non-modal dialog box, how is this done? I have tried several examples that suggest using the SUDDlgCreate instead of SUDDlgShow but with no success. It doesn't appear clear where the disticntion between modal and non-modal is made.
Thanks,
Ben
06-10-2015 02:11 PM
Nevermind, I figured it out!
The reason I was not having success with SUDDlgCreate was because while trying to run it, I had the original dialog open. this was causing an error saying the dialog was already created.
Ben
06-12-2015 08:44 AM
Hi All,
Another thing to look out for is that the modal SUDialog can pass a VBScript variable as a 3rd paramater between the calling VBScript and the called SUDialog. The Non-modal SUDialog can NOT pass a VBScript variable in this way.
Otherwise there are no changes necessary in the SUDialog ittself, just the function used to call it as modal or non-modal.
Brad Turpin
DIAdem Product Support Engineer
National Instruments