Disable form while processing

  • Thread starter Thread starter Amil
  • Start date Start date
A

Amil

Once a button is pressed, I want to disable a form while processing. I can
set the Enable property on the form and this works fine. The side effect is
the form sort of flashes if the time is very short (from controls being
disabled, then re-enabled).

Is there another way to just disable input (keyboard, mouse) on the form
rather than seeing the visible enable/disable?
 
* "Amil said:
Once a button is pressed, I want to disable a form while processing. I can
set the Enable property on the form and this works fine. The side effect is
the form sort of flashes if the time is very short (from controls being
disabled, then re-enabled).

Is there another way to just disable input (keyboard, mouse) on the form
rather than seeing the visible enable/disable?

Controls will have to be drawn in disabled state, which may cause the
flashing.
 

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