>George,
>
>Works like a charm!!
>
>Thanks!!!!
>
>BTW, I made one change to make this more generic... I added the lcCaption stuff..
>
>
><b>local lcCaption
>lcCaption = thisform.caption
>hWnd = FindWindow(0,lcCaption)</b>
>
>
Just a BTW...
BTW< g >, you could create a property to hold the window handle and use foxtools to get it. Just a BTW...:-)
George
Ubi caritas et amor, deus ibi est