Page 1 of 1

Updating 170+ fields....

Posted: Tue Jun 10, 2008 4:40 am
by bjb007
My main project has 170+ fields which contain
information calculated from the buttons pressed
by the user.

As you'll know if you've done anything like this,
it's necessary to have an "Undo" button for those
times when the user hits the wrong one.

It's impossible to update all the fields by adding
and subtracting etc. and get them all showing
the correct results. The only solution which
will be sure give all the right answers is
to use a record of buttons pressed, delete the
last one, and send "mouseUp" to them all for
what might be over 100 clicks.

This is working and produces what I can only
describe as a dazzling display of computer
power but I'd rather not have it visible to
the user.

Any suggestions appreciated. The only one
I can come up with is to have a non-working
duplicate with empty fields to show while
the updating goes on.

Help with how to do this, unless there's a
better way, would be welcome.

Posted: Tue Jun 10, 2008 8:22 pm
by Garrett
you can lock the screen so that none of this is seen, and when done, unlock the screen, so that the results are instantly shown without all the excess work between.

Code: Select all

lock screen
and then

Code: Select all

unlock screen

Updating 170+ fields....

Posted: Wed Jun 11, 2008 1:08 am
by bjb007
Thanks Garrett.

As usual there's a hard way and an
easy way!

Edit: Not only that but seems to make
the whole process quicker.