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

Lost focus on form after printout.

Status
Not open for further replies.

frontside

Technical User
Sep 26, 2002
85
SE
Hey,

I have a simple application that prints out labels, the form that I use for this is not in focus after a printout. Is there any easy way of getting the focus back on the form without clicking with the mouse?

I´m using some code to take away the shell on access so only the form itself is visible.

Would like some fresh ideas about this one.


Mikael "Sweden"
 
Without knowing some of your code, after the print command was made I would insert something like:

Me!FirstFieldInForm.setfocus

I don't know if you have tried this or not but that is the easiet thing that I know of.


Thanks,

Shadd Parker
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top