Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RemoveObject() doesn't remove object...
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
RemoveObject() doesn't remove object...
Divers
Thread ID:
00044225
Message ID:
00044225
Vues:
137
I have a problem removing objects (class container) from a pageFrame that is dynamic depending on a selection made on the page 1.

For example, when I select the page 2, in its activate, it does :

THIS.ADDOBJECT('oTab',lsObjName)

and in the deActivate of this page, it does :

IF TYPE("THIS.oTab") = "O" .AND. !ISNULL(.oTab) .oTab.DeActivateClass() .REMOVEOBJECT("oTab")
ENDIF

If focus is on an object, the remove command doesn't work.
I have tried to set focus on page 2 before the deActivate event and that doesn't work either.

Can anybody help me...
Thanks!
Analystik Team
1430 Belanger
Montreal (Quebec)
Canada
(514) 278-2727
analyste@analystik.ca
Répondre
Fil
Voir

Click here to load this message in the networking platform