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!

Block Keyboard & Mouse

Status
Not open for further replies.

kennetha

Programmer
Sep 10, 2003
105
MT
Hi all,

Is there a means to block all input from the keyboard/ mouse like you can block the screen updating with Docmd.echo..?

Thanks in advance
Kenneth.
 
I suppose you could open a small modal form. [ponder]
 
One note I would make...if you decide to go down the path of blocking ALL input, make sure you have some escape method and some serious error checking. You need some way to get out of the "locked" state, and since keyboard and mouse cannot not provide input it will be up to you to figure a way. Also, if your application bombs out, make sure you have some way to recover, sinc the keyboard and mouse may be disabled in your application.

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB/Access Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top