>>Is there a way to know how did an object got focus?, in other words, If the object got focus by beeing tabbed in or by a mouse click?
>
>Hi, Jorge
>
>If you check on READKEY() in your GotFocus event. You can also combine READKEY() and LASTKEY().
Jorge- you could create a custom propoery for the textbox... something like 'wasclicked' and in the click event set it to .T., and in the lost focus, set it to .F. again. Then just check wasclicked in the gotfocus event to see if it was clicked or not. HTH
Erik Moore
Clientelligence