>Thanks Edward.
>
>I placed the code in the main startup program. This is exactly what I was looking for... Thanks again.
>>_SCREEN.Windowstate=2
Hi David,
Another 'nice' thing I use in my apps is as part of the shutdown before issuing CLEAR EVENTS have _SCREEN.WindowState=1. This causes it to minimize to the taskbar before shutting down. It prevents the user from seeing aspects of you app shutting down (cleaner) plus IMHO it's kind of a neat visual effect.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.