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.
 
Back
Top