This sounds really useful... Especially in my own pageframe control. Is there a way to make the line generic? I mean, search the pageframe to find the control with the lowest tab stop and move the focus to that?
>Hi Mark,
>
>>> I put a pageframe on my form and now when my form appears a focus sets on the first page. I want that focus sets on the first control on my page (text box). So, how can I do that? Do I need to put some code into áctivate method of my form or I can do it in design time?
>>>
>>> Thanks in advance
>>
>>That's what I would do. This.PageFrameName.Page1.txtBoxName.SetFocus()
>
> Ok, I did this in Form.Init method and PageFrame.Click.
> Works fine.
>
>
> Thank you.
--Todd Sherman
-Wake Up! Smell the Coffee!