>I'm doing some error checking in the deactivate event of a form that is contained in a page frame.
>
>The user clicks page 2 and then deactivate event in page 1 finds a problem that requires that page 1 stay on top so the user can fix something.
>
>if i try and use thisform.pageframe1.page1.setfocus() or .activate() within page1's deactivate event; page2 still activates.
>
>any ideas?
>
>thanks,
>
>scott
Use NODEFAULT, then set focus to whatever you want.
Marty
Marty Smith, CSQE