>>>>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 #
1220782>>>
>>>Pass hwnd of your main form to this function.
>>
>>
>>WOW!im a novice u know. that code scared me
>
>Don't be too scared - copy it, put in a function in your main program and then call from form's activate, for example.
Copy it why...we dont need everythin thats there :(