You can put in the Valid method of the textbox at the very end: Return 2, this will move to the 2nd object ahead in the tab list, use Return 3 to move to the third, use Return -1 to move to the previous.
If this won't do the job try the UIEnable event of the object which will fire whenever the page is activated or deactivated.
>I have a pageframe in a form besides other controls Textboxes etc.
>Now , if I exit from a textbox and the next object in tab order is the pageframe , I can't go directly on the first object of the pageframe's activepage. The focus (if I can call it this way) goes on the pageframe.activepage.caption .
>I saw that neither the activate event nor the setfocus event of the pageframe or of thepageframe.activepage is called
>by the system. Is there a way to call an event when the pageframe got the focus ?
>Thanks
>Alessio
Jorge Flores
From the Amigo Country