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.
 

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

Similar Threads

Instant Totals on Continuous Forms 2
calculated control event order 2
lock/unlock controls 0
Locking Forms 5
Lock and Unlock a Form 5
Locking a form 4
Need help with Form objects 0
Cancel a listbox selection 0

Back
Top