Totally lock form

  • Thread starter Thread starter Mariebob
  • Start date Start date
M

Mariebob

Hi,

I am running code in the current event of a form and I want to prevent the
user to do anything until it's over (not click on any control or on the form
either).

Is there an easy way to do it?

TIA,
 
Hi,

I am running code in the current event of a form and I want to prevent the
user to do anything until it's over (not click on any control or on the form
either).

Is there an easy way to do it?

TIA,

Hi

You could check out application.echo to freeze the screen whilst your
code does what you want it to...

Regards
 
Well, I tried, but the problem is that my form has to be visible and be
refreshed... I just don't want the user to be able to click on it...

Anybody has an idea ?
 
Mariebob said:
Well, I tried, but the problem is that my form has to be visible and
be refreshed... I just don't want the user to be able to click on
it...

Normally the interface already rejects user input while code is running.
What exact issue are you trying to solve?
 
Well, I just solved my problem by putting a rectangle hiding my entire form,
deactivate it and the control box of the form too.

FYI,

my problem was that I was exporting automatically generated graphs to
powerpoint and when the user clicked on the form, it stopped the process... I
don't know why.
 
Back
Top