I thought about just shifting the window out of the way, but I don't really like that approach...doesn't seem as clean to me. I rather get it to work properly then force it to work using a workaround.
Thank for the input though! :-)
>Create a .OnStandby method in your vfp form:
>
>- When the state is found
> save form coordinates
> move the main window to -1000, -1000
> call up the application login screen with appropriate message
> if you want to,
> minimize the app (personally I don't like apps doing that)
> restore on activity to show app still on login screen
> if user login is correct
> restore main window to preivous coordinates
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook