Blocking user input for a while.....

  • Thread starter Thread starter Atlas
  • Start date Start date
A

Atlas

I have a complex multiple tables updates (Visual basic) that fires when a
field's afterupdate is issued (can't put that code in the beforupdate!).

As I want to be sure users cannot switch elsewere while updating I would
like to complitely block user input (mouse & keyboard) until updates are
done.
 
Hi Atlas

Unless your code includes DoEvents commands, or you are performing
asynchronous updates, no user input will be processed until it is complete.
You can give a visual indication that your code is busy by changing the
cursor to an hourglass.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top