Glenn:
>>>>>
I cannot explain why in the VFP model why during instanciation you cannot remove an object but I can offer a work around.
According to Drew Speedie, to properly instanciate forms in VFP follow LISAG (Load,Instanciate,Show,Activate,Gotfocus). If in the Activate event you test for the presence of this object and if it exists removeit eg.
Form::Activate
if type('this.badobject') = 'O'
this.removeobject('BadObject')
endif
you will successfully accomplish your objective.
>>>>>
Thank you. I will experiment with the idea.
Daniel
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement