Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top level form part 2
Message
De
21/01/1997 19:59:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00017266
Message ID:
00018047
Vues:
46
>*Code form INIT in login form
>thisform.passcount = 0
>thisform.cm_cbo1.setfocus() && set focus to first object in login form
>_screen.windowstate=1 && this is the trick
>* && Login form has the focus prior to minimizing the desktop

This will only work when _screen.Visible=.T. when the form is call. In my case, the CONFIG.FPW is putting _screen.Visible=.F., so the SetFocus() does not set the focus to the control nor the form.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform