>In my form I have serveral text flds. I want to check when one of these
>text flds gets focus. any ideas?
Robert, you might try something like this:
IF TYPE("thisform.ActiveControl") = "O"
IF UPPER(thisform.ActiveControl.Name) = "TEXT5"
WAIT WINDOW thisform.ActiveControl.Name + " has Focus"
ENDIF
ENDIF
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