>Hello! i have a program from which i build an executable. the thing is...when i run the executable..i have to click it before i can enter my username and password. i tried
>
>thisform.username.setfocus()
>
>but that doesnt activate the form or set the focus..i must click it first any idea?S:(
Check
Re: How to get focus to my VFP app from a VFP utility once c Thread #
1220775 Message #
1220782Pass hwnd of your main form to this function.
If it's not broken, fix it until it is.
My Blog