I have a saleslogix library and the object browser shows the methods and classes. What I want to know is if someone can direct me as to how to use it in my foxpro applications.
When you say "library", do you mean it is an ActiveX control? If so, you can either drop it on a form, or instantiate it programmatically.
To drop it on a form, open the form in the form designe. From the forms controls toolbar, drop an OLE Container Control. When you do, you will see the Insert Object dialogue. Scroll down until you see the object in question (assuming you recognise its name), and select it.
You can now add code to the form to access the properties and methods of the control.
If you want to instantiate the control programmatically (without a form), use CREATEOBJECT(). This assumes you know the control's class name. Once you've done that, you will again be able to access the properties and methods.
Hope this helps.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.