progress bar
Robert Brenstein
rjb at robelko.com
Tue Jan 5 15:34:00 EST 2010
On 05.01.2010 at 21:09 Uhr +0100 Jacques Hausser apparently wrote:
>Hi,
>
>I have a stack loading and rescaling big pictures (12 megapixels or
>more) by setting their filename and then their size. The user can
>choose their resizequality, and with "best" the process is rather
>slow, the final size being as big as possible. My question: how to
>link an "honest" progress bar to this process ? It's only one line
>of code: set the rect of image "X" to..., and I do not see where to
>check the actual progress.
>
>Thank you for every idea
>
>Jacques
>
You can't have the engine call your progress stack, so all you can do
is to put up a small dialog window with something like
"Rescaling...", call set the rect of image "X" to..., then close the
dialog window. Set a cursor to watch as well.
Robert
More information about the use-livecode
mailing list