It should...but it doesn't sometimes....
Try testing for the existence of the object via VARTYPE() or TYPE() before attempting to access it.
> Yes, I am running VFP6 with SP3. The fatal error message shown me that there is error in my enable/disable toolbar method.
> Hmm... I don't have code in ERROR method. But I think VFP should handle the object is not found error as previous.....right?
>
>Thank you
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05