Check out the TabStop property for the Page. Maybe you want to set it to .F.
>How can i do that a pageframe tab lost the focus?
>
>I click a pageframe tab and pass the focus to the first control in the form (textbox) trougth the activate event of the pageframe tab, but the pageframe tab still has the mark on it. When I press tab, the focus return to the pageframe tab.
>
>I want that when i press the tab key the next control in the page get the focus. The tabindex is correctly setup.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05