Ted, Clearly, your rff needs focus and the help section says to use either one of these two syntaxes:
Used to switch focus on forms. Switching Focus on Form Control: PROPERTY 'Formname|ComponentID' SET_FOCUS 'TRUE' Switching Focus to a Form: PROPERTY 'Formname|RBASE_FORM' SET_FOCUS 'TRUE' Claudine ________________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Lienhard Sent: Friday, August 01, 2008 1:22 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Minimizing, then normalizing an external form I am running an External Form which calls a second form (a normal RBase form). After the second form runs and closes, I want the calling form (the External Form) to normalize again, wait for 3 seconds and then close. I am having trouble normalizing the External Form. Here is the code I am using in the On After Start EEP of the External Form: PROPERTY RBASE_FORM WINDOW_STATE 'MINIMIZED' EDIT USING Form2 PROPERTY RBASE_FORM SET_FOCUS 'TRUE' (This command has no effect on the problem) PROPERTY RBASE_FORM WINDOW_STATE 'NORMAL' pause using 3 closewindow return The External Form minimizes just fine, and the second form (Form2) launches and closes just fine. Then the External Form stays minimized until the RBase task is clicked on the taskbar. At this point the External Form normalizes, but does not close until I hit [esc] to manually close it. I have tried to set focus on the External Form, but I am apparently doing something wrong. Any ideas on how to make this work? Thanks! Ted Ted Lienhard CNE NCT Golden Valley Consulting

