How can I put the ActiveX control on a Navision form, thus that its owner would be the form. And how in Navision it is possible to react to events from ActiveX control.
And to answer your second question: when you declare a variable with DataType Automation and SubType eg. 'Microsoft Excel 11.0 Object Library'.Application, you can set the property WithEvents to Yes for this variable. This way, a lot of event-triggers are inserted in the C/AL editor, ready to be used by Navision.
Comments