Updating 170+ fields....

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bjb007
Posts: 313
Joined: Fri Dec 28, 2007 4:56 am

Updating 170+ fields....

Post by bjb007 » Tue Jun 10, 2008 4:40 am

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.
Life is just a bowl of cherries.

Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Post by Garrett » Tue Jun 10, 2008 8:22 pm

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

bjb007
Posts: 313
Joined: Fri Dec 28, 2007 4:56 am

Updating 170+ fields....

Post by bjb007 » Wed Jun 11, 2008 1:08 am

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.
Life is just a bowl of cherries.

Post Reply