> Thanks Anatoliy for your info. Now the question is Is it "mimic" like SefocusAPI? since in VB, this one works.
Hi Andy,
Yes, precisely: this is the same API function. The ways external functions declared in VFP and VB are slightly different.
- user32.dll library contains external function SetFocus
- this function is declared in VFP using alias SetFocusAPI to avoid possible collision with other meaning of "SetFocus"