DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Send data from event to SUD Dialog

Hi,

 

 

I have a script that trigger an event function ( OnCursorChanged)  

 

and i want that each time the event is triggered ,send a string to my Dialog (contains list box of string ).

 

how could i do that?  

 

thanks

0 Kudos
Message 1 of 3
(5,257 Views)

Hi,

 

maybe this will work, you must start your dialog non-modal and can use the CustomAction-Event in the dialog:

 

Sub OnCursorChanged-SUB
Dim myDlg

Dim sDialogCode : sDialogCode = "theNameOfYourDialogCodeProperty"

 

  If Nothing is SudNonModalDlgLst(sDialogCode ) Then
    Set myDlg = SUDDlgCreate(sDialogCode , sITMPath & "test2.SUD")

    Call myDlg.Show()
  Else
    Set myDlg = SudNonModalDlgLst(sDialogCode )
  End If

  Call myDlg.RunCustomAction
End Sub

0 Kudos
Message 2 of 3
(5,252 Views)

Hi MartinKozlowski

 

Maybe the Example in DIAdem "User dialog boxes in DIAdem-VIEW" could also be helpfull. Open Help>>Examples and then open the book "View and edit data"

 

Hope this helps

 

Winfried

0 Kudos
Message 3 of 3
(5,246 Views)