Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with a class but not on a form
Message
From
26/10/2001 18:29:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
26/10/2001 18:09:26
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00574051
Message ID:
00574062
Views:
33
>I have a form where I remove an object and then reinstate it. Once I convert this into a class, it causes an error which the generic form does not. The program executes a removeobject of an ole object (MS Web Control). In the form, the object disappears. In the class based form, the object remains. Can anyone explain why?

Is the error something like "belongs to parent class and can't be removed"? I've seen this with grids which had more columns at the class level than needed. Can't kill them, because they're in the class definition. In case you instantiated more objects of this class, Fox keeps the class definition in memory intact, so you get this limitation.

You better start looking for a workaround... first of all, why are you killing and then resurrecting an object? I figure this may be because of some other problem - and we'd better solve that one.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform