>>>>How to make focus to the first control of each page after tab change ?
>>>>
>>>>it retain the control to tab after tab change now ...
>>>
>>>Each Page has a Controls collection - in the Activate event of the Page, you could simply issue something like:
>>>
>>>=this.Controls(1).SetFocus()
>>>
>>>or spin through the collection and check for the first appropriate control that's enabled.
>>
>>Ed,
>>
>>Does whatever control that's in .Controls[1] have to be the first tab stop? Isn't it just the order the controls are defined in, not necessarily the tab-stop order? Just checking...
>
>I think it's the order the control is added to the Page; you might have to spin through the collection to find the first control by tab order.
OK, thanks. I guess most of the time, the order things are added would be first, but things do change...