07-18-2013 06:09 AM
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
07-18-2013 08:51 AM - edited 07-18-2013 08:52 AM
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
07-18-2013 08:59 AM
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