Sergey,
That did the trick! Thanks a lot Sergey!
Just a little concern though - since MDOWN() is included for backward compatibility (as found in VFP Help), is there another way for this using the 'new' PEMs?
Thanks once again!
Dennis
>Hi Dennis,
>
>You can use MDOWN() function in the LostFocus of the texbox check.
>IF MDOWN()
> * Mouse's been used to move focuse to some other control.
>ENDIF
>
>>Hi Sergey,
>>
>>I am trying to mimic the behavior of the Index tab page of MSDN VFP help. =)
>>
>>Since the KeyPress event of the textbox can already trap for the UP or DOWN keys, I also need to trap if the mouse or mouse click was used in going out of (or losing focus of) the textbox (and used selecting a grid row). I need this in order to update the textbox contents via updating the UpdateTextBox property to .T.
>>
>>Thanks again
>>
>>Dennis
>>