>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 have read somewhere that in VFP 5 the page itself can have a focus now. May be that's the case?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison