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

Can a form capture the cursor ? 1

Status
Not open for further replies.

vamoose

Programmer
Oct 16, 2005
320
MX
I am using Access 2000. I have 1 main form which is displayed all the time. I have a Command button on this form which opens a smaller form for data entry. How do I keep this data entry form on the top or active until all data is entered and the form automatically closes. As it is now, if the user clicks anywhere outside the smaller form the main form now has focus and the smaller data entry form is now hidden in the background. Can I capture the cursor with the smaller form until all data is entered ? Or perhaps there is another way ?

Thank you for looking and any suggestions.
 
You can set the pop-up and / or modal properties of the small form either on the property sheet or through code. If you wish to use code, consider the Window Mode argument of the Open Form method.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top