Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top level form part 2
Message
From
21/01/1997 19:59:19
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00017266
Message ID:
00018047
Views:
42
>*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
Previous
Reply
Map
View

Click here to load this message in the networking platform