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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Control?

Status
Not open for further replies.

SpeedDemon

Programmer
Jan 1, 2001
70
GB
Hi all, how do I change the focus from one form to the other.

I have 2 forms, one is displayed on top of the other, what controls can I edit in code to make the second form appear on top of the first?

Cheers
 
hi, Have you tried the following :-

Form2.BringToFront;
Form2.SetFocus;

Hope that helps
lou
 
Hi, thanks for the reply...

Still couldnt get it to work so I've tackled the problem a different way, phew :)

Thanks again however!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top