>Hi Jayesh...
>
>Thanks for your code. I'm trying to make this edit button as generic as possible so that I don't have to manually define properties to tell the form where to set focus. All I want is to have the focus go to tabindex=1 on the active page.
I humbly submit this code again:
thisform.pageframe1.pages(thisform.pageframe1.activepage).setfocus
keyboard '{TAB}'
Edward Pikman
Independent Consultant