Hi Anatoliy.
The SetForegroundWindow worked perfect for my needs.
Many thanks, again.,
>Try
>
>DECLARE INTEGER SetForegroundWindow IN user32 INTEGER hwnd
>= SetForegroundWindow(ThisForm.hWnd)
>
>or
>
>DECLARE SwitchToThisWindow IN user32;
> INTEGER hWindow, INTEGER fAltTab
>= SwitchToThisWindow(ThisForm.hWnd, 0)
>
***
TONY Nascimento
*****************
"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo
"The desire to know is natural to good men" - Leonardo da Vinci