Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set focus to the executable
Message
 
 
À
17/02/2010 12:17:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01449446
Message ID:
01449449
Vues:
31
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform