Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windowstate not working
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01646560
Message ID:
01646636
Views:
69
I tested the problem you pointed with setfocus...

1.in form.init if you write:
thisform.text1.setfocus && Assigns the focus to a control.
thisform.windowstate=2  && or set at design time
this works as well

2.but if you inverse
thisform.windowstate=2 && or set at design time
thisform.text1.setfocus
the form dont maximize and set the focus to the control !

3.better way is to set your focus in form.activate event.that works.
form.init
thisform.windowstate=2 && or set at design time

form.activate
thisform.text1.setfocus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform