Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Object from ActiveX
Message
From
03/02/1999 11:13:00
Paul Frost
Instem Computer Systems Ltd
Stone, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00183418
Message ID:
00183478
Views:
14
When I got this problem I was trying to add the object from within a button click method - my code was similar to yours & had the effect of trying to add the object to the button, rather than the parent form.

Using the AddObject for the form cured the problem.
e.g. MyForm.AddObject( "okcal", "thecal" )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform