Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function to get the IPAddress
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00485417
Message ID:
00486074
Views:
22
>Try this
* Call this something indicating what it is in a prg
>* I'll use ActiveX.prg
>DEFINE CLASS MySubClass AS OLECONTROL
>  * Whatever here
>ENDDEFINE
>SET PROCEDURE TO ActiveX.prg ADDITIVE
>ThisForm.AddObject("MyObjName", "MySubClass", "ProgID")
In the above "ProgID" is to be replaced with the ProgId of the control being sub-classed.

Works ok, thanks. Interesting, the Help examples I saw don't seem to include the third parameter in AddObject(). But it's Friday afternoon and I need to get out of here so I'm kind of rushing around and may be missing something. :-)
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform