>I want to use the setfocus method to set focus to a control on a page.
>When using setfocus the form (when closed) stays in memory.
>This problem occurs when applying a setfocus() in the activate page event from a pageframe. When using setfocus() within the method AfterRequery (from ebizobjform..) the problems also occurs. I want to use setfocus in afterrequery to set focus to the first item in a picklist or when no items avail to the first control of the searchcontrols or when only one item to set control to the next page in the pageframe.
I don't know of any problem with SetFocus() causing a form not to close. Normally it's a object reference that's not released. Also there's the IF TYPE("something") = "O" AND PEMSTATUS() on the same line that can cause the form to hang.
Charlie