06-22-2015 08:22 PM
I built a dialog box that I would like to have in the View area. Is it possible to have one of the dialog box's button load a script while staying in VIEW panel?
06-23-2015 03:38 AM
Hey BG103,
just use ScriptStart function in your SUD dialog. If you want to work in VIEW after your script started you can start an interaction
For example you can create a SUD dialog with two buttons: Start Interaction / Stop Interaction and define click events like this:
Sub ButtonStartInteraction_EventClick(ByRef This) call ScriptStart(CurrentScriptPath & "StartInteraction.vbs") End Sub Sub ButtonStopInteraction_EventClick(ByRef This) call InteractionOff() End Sub
StartInteraction.vbs looks like this:
Call WndShow("VIEW", WndMode) Call InteractionOn()
You can integrate the SUD dialog in VIEW using a View connector in your SUD dialog.
Regards
Christian