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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only