Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set focus to the executable
Message
De
17/02/2010 12:59:23
 
 
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:
01449455
Vues:
30
>>>>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 :(
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform