>How do I know if the current object is a TEXTBOX or a LABEL or a GRID or etc?
>
>Thank you
Check it's .BaseClass property.
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