Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with a class but not on a form
Message
De
26/10/2001 18:29:29
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
26/10/2001 18:09:26
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00574051
Message ID:
00574062
Vues:
32
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform