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

FORM

Status
Not open for further replies.

99mel

Programmer
Oct 18, 1999
379
GB
Does anyone know the code to make a form have the focus. All I want to do is before this line of code is ran I want 'Form1' to &quot;be on top&quot; (have the focus)<br>
<br>
Thanks
 
Try:<br>
<br>
Forms(&quot;form name&quot;).SetFocus<br>
<br>
Jonathan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top