Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoid having pageframe on TAB #1
Message
From
09/01/1997 08:55:28
Bill Gravell
Indoor Purification System
Menifee, California, United States
 
 
To
08/01/1997 19:46:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00016833
Message ID:
00016886
Views:
35
>I have a pageframe having some controls in it. The pageframe is my top level control in the form.
>
>By default, Visual FoxPro is focusing on the pageframe at run time when entering the form.
>
>I would like to have my focus on the first control of page 1 without having to write some code. I tried PageFrame.TabStop=.F. but that doesn't help to put my focus on object #1 in the tab order of my page 1 controls. I tried putting PageFrame.TabIndex to 0 but it is the same as 1.

Michel, I had a similar problem and used THISFORM.PAGEFRAME.PAGENAME.CONTROL.SETFOCUS in the activate method of the form, and it set the focus to the control on the 1st page of the pageframe.
Previous
Reply
Map
View

Click here to load this message in the networking platform