>Hi All,
>
>I have a form with a couple of controls, say textboxes, which belong to several logical groups of data, say two groups. I want to have (in this example) two "tab cycles", i.e. if the user tabs through the controls of one group the focus should stay only on the controls of this group. Only by using a specific key, say a page key, the user can go from one group to the next one.
>
>Remark: There is a proposal from Tamar Granor, which she made in the mid-90, which uses the system variable _curobj to allow to do exactly what I described above. But _curobj is nowaday only "included for backward compatibility", so there should be a more contemporary way to handle this.
>
>Any ideas?
You could put grouped controls into containers, and in container's lostfocus() check for the condition (which could be a lastkey=page down). If not OK to move to next group, issue a nodefault and set focus to where you want it inside the container.