Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RemoveObject... doesn't !!!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00092409
Message ID:
00092771
Vues:
33
>It's pretty basic.. oops, I mean _simple_ :-)
>
>
>* add / update menu option containers and scrollbar
>IF TYPE("THIS.cntMenu") = "O"
>  THIS.REMOVEOBJECT('cntMenu','Container')
>ENDIF
>THIS.ADDOBJECT('cntMenu','Container')   &&<<<<<<< object with that name already exist
>THIS.cntMenu.VISIBLE     = .T.
>
Larry (and Cetin),
Does the RemoveObject() code leave the variable with a value of .NULL.? Try checking for this, and releasing the variable if necessary.

HTH
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform