>Hi everybody,
>
>I have a form with a pageframe with 7 pages. First page has a button with the following code int its click method
>thisform.pageframe1.ActivePage = 2
>
>If I only have this code, when the second page activates, the first control (txtDescription) does not have a focus.
>If I add
>
>thisform.pagedframe1.Page2.txtDescription.SetFocus()
>
>or same in Page.Activate, then the second control (combobox) gets focus.
>
>I believe we did had a similar problem a while back, but I don't recall a resolution (if any). May be instead of trying to set focus I need to do any other trick?
>
>Thanks in advance.
Shoot in the dark...
Set TabIndex property to 1 ??
And make sure txtDescription.When event not return .F.
Regards,
Ony