>I want a user the select page's in a pageframe in just two ways:
>1. when clicking with the mouse
>2. when using a short-cut key
>That's not the problem, my problem is that I don't want to use a TAB to select a page. When a user is selecting a page (mouse or short-cut) I want the focus to be set on the first control on that page or on the control that in a previous selection of that page was active.
>Who has a simple solution???
You have Page.Activate event to move focus programmatically, e.g. This.ControlX.Setfocus
If you want to move focus to the previously active one, then you should keep this control's index (in some custom property) and then issue:
This.Controls(Thisform.LastActiveControlIndex).Setfocus
Edward Pikman
Independent Consultant