Results 1 to 2 of 2

Thread: Pass parameter from ActiveX to Form in VFP

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Location
    Ireland
    Posts
    29

    Question

    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.
    VB6 Enterprise

    Brian Mc Cashin

  2. #2
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327
    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...
    -scott
    he he he

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width