I've been experimenting with placing an ActiveX component inside a windows desktop gadget, and have some issues. First of all, I'm building this component with Delphi. It imports OK, but I need to know how do I properly access this ActiveX object from javascript? Also, how do I assign events via javascript? Do I call for example MyObject.OnCreate = ObjectCreated(Sender); ? or am I missing something? If I publish an event of my own such as OnLog(Text: String); then do I make a function ObjectLog(Text) {} and then assign it by setting MyObject.OnLog = ObjectLog(Text); ?
HTML and Javascript are still fairly new to me, as well as ActiveX.
Also, when I hover the mouse over the ActiveX control, it gadget doesn't recognize the mouse movement, thus doesn't show the buttons and doesn't activate. I have to have some sort of border around it to catch the mouse movement. How do I carry through mouse movement on the control to the gadget?
JD Solutions
HTML and Javascript are still fairly new to me, as well as ActiveX.
Also, when I hover the mouse over the ActiveX control, it gadget doesn't recognize the mouse movement, thus doesn't show the buttons and doesn't activate. I have to have some sort of border around it to catch the mouse movement. How do I carry through mouse movement on the control to the gadget?
JD Solutions