4 Replies Latest reply on Oct 2, 2014 10:48 AM by juergen.hinterleitner

    how to AttachEvents to the Dialog "Manufacturing Output" in Expedition?



      Some Basiclines of my startup script are:


      Set pcbApp = GetObject(,"MGCPCB.ExpeditionPCBApplication")
      Dim Dlg: Set Dlg = pcbApp.Gui.FindDialog("Manufacturing Output")


      pcbApp is valid.

      But the Dlg Variable is always "Nothing". What I'm doing wrong here?


      I want something to do like that (attach Events to the Buttons from the Dialog):

      Call Scripting.AttachEvents(Dlg,"DLGEVENT")