>In my application developed in VFP3 i could have SetFocus() in a When event but now in VFP6 I can't. Is there any other function or method where I can get the same result. The problem is that in some cases I don't want any input in the textbox and in that case I want to move the focus to another textbox...
Yes, the Gotfocus is similar to the When, it fires when a control gets focus, just after the When...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.