PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → ActiveX control
ActiveX control
Débuté par John Marrone Jr, 24 juin 2004 16:27 - 3 réponses
Posté le 24 juin 2004 - 16:27
I have dropped an activeX control on my form. How do I address this control in code. I named the activeX control "uzCtrl".
This does not work :
uzCtrl:?????? or
MyParent:uzCtrl>>??????
I have tried many different ways but can not figure it out. I put this activeX control on my first form. The code is in a menu selection code area. How do I address this control. I have found no examples in the help.
Thanks for your help (:->)
John Marrone
Posté le 24 juin 2004 - 18:54
YourAX>>Method(Arg)>>AnotherMethod()
should do it.
HTH Raimund
I have tried many different ways but can not figure it out. I put this activeX control on my first form. The code is in a menu selection code area. How do I address this control. I have found no examples in the help.
Thanks for your help (:->)
John Marrone



http://www.invitec.com
Posté le 24 juin 2004 - 18:55
Hallo John,
for Event :
ActiveXEvent("My_procedure","AVIDrive","OnClick")
for Properties :
ActiveX_Name >> Zoom = 12
for Methode :
ActiveX_Name >> Methode(parameter1,parameter2)
Christoph


I have dropped an activeX control on my form. How do I address this control in code. I named the activeX control "uzCtrl".
This does not work :
uzCtrl:?????? or
MyParent:uzCtrl>>??????
I have tried many different ways but can not figure it out. I put this activeX control on my first form. The code is in a menu selection code area. How do I address this control. I have found no examples in the help.
Thanks for your help (:->)
John Marrone
Posté le 24 juin 2004 - 22:52
Figured it out.Thanks for responses. The WD code editor does funny things with a lower case "L". I use the font Arial. In any case the control was named uzCtrl when it actually was uzCtrll in the editor. And when I looked at the compile errors I didn't notice it. Once I corrected the spelling WD handled the activeX control really good. I could not get there unzip funtions to work though. Will take that on when I have more time to face that challenge. For now I will use DynaZip.

Thanks for your help (:->)
John Marrone