Hi John ---
Hmmm...thats some unusual syntax there, the "buttons("play")" part. Anyway, whenever you have object code in a menu, it's a good idea to call a UDF that first uses PEMSTATUS to check for the existance of an ActiveForm or whatever else is erroring.
> How could I skip for some expression in Menu designer? I try to add the following code in Skip for expr., the error :tbrcoolbar do not evaluated to an object
> Skip for: _screen.activeform.tbrcoolbar1.buttons("play").enabled = .f.
> The buttons usually referenced by thisform.tbrcoolbar1.buttons("play").enabled = .f.
>
>
>
>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