Ted, I think that your PROPERTY RBASE_FORM SET_FOCUS 'TRUE' needs to be changed to:
PROPERTY 'Formname|RBASE_FORM' SET_FOCUS 'TRUE'. Notice the formname|RBASE_FORM enclosed in single quotes. Claudine ________________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Lienhard Sent: Friday, August 01, 2008 4:37 PM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: Minimizing, then normalizing an external form Hi Claudine, Thanks so much for getting back to me! I checked and double-checked my SET_FOCUS property commands, looking for error messages, tracing, etc. The SET_FOCUS property commands simply do not seem to apply focus when the window has been minimized. So, it appears that when I issue a PROPERTY RBASE_FORM WINDOW_STATE 'TRUE' statement, it can't "see" the minimized window to "normalize" it. Granted, this could still be something I am doing wrong, but after checking my other PROPERTY command syntax, it seems that I am OK on that score. For now, I am using property commands to dynamically change my external form to a width, length, top, and left of 1...causing the form to disappear and not cover any screen icons. Then, I issue the original size properties and "fade" my form back in with the alphablend properties. Looks real nice! I am still scratching my head over the focus issue. Thanks for weighing in on this question for me! Best Regards, Ted Ted Lienhard CNE NCT Golden Valley Consulting >>> Claudine Robbins<[EMAIL PROTECTED]> 8/1/2008 1:34 PM >>> 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

