Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set focus to the executable
Message
 
 
To
17/02/2010 12:17:14
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01449446
Message ID:
01449449
Views:
32
>>>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform