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