PDA

Click to See Complete Forum and Search --> : Pass parameter from ActiveX to Form in VFP


mccashinb
Nov 29th, 2000, 10:46 AM
I would like to pass the value of a variable from an
ActiveX control I created in Vb to VFP.
Whatever the value of the variable is I would like to
be able to use it on my form in VFP but I don't know how.
As you may have guessed, this is my first ActiveX control.

Scott Penner
Dec 13th, 2000, 03:50 PM
You probably have figured it out by now, but you can use any number of methods to get info from the ActiveX control. For single parameters, the best method is adding a public property to the control. Otherwise you can add a public method to the control and pass as much or as little as you want. I think any control made in VB should be easy for VFP to interpret.
Let me know if that's not the case...