Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Focus

Status
Not open for further replies.

sheronne

Programmer
Jun 1, 2001
71
US
I have a top level Login Form that displays when the app is first started. The main VFP window's visible property is set to .F.

My problem is that when I start the app the Login screen does not have focus.
 
sheronne,

Go check out this thread...

Why doesn't my form get focus?
thread184-754809

Slighthaze = NULL
craig1442@mchsi.com
"Whom computers would destroy, they must first drive mad." - Anon​
 
Sheronne,

There are a several good suggestions in the thread that Slighthaze recommended. The technique which I use (for what it's worth) is:

* Bring this window to the front
thisform.AlwaysOnTop = .T.
thisform.AlwaysOnTop = .F.

Put that in the form's Load event.

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top