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

Reply via email to