>This should do the trick :)
It is possible also to use UiEnable Event for objects onthe pages for the same thing.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison