Scodigo, Inc.

Log In | Register

Cart Items:
0

Progress Bar Cancel Button

Is there a way to have a "Cancel" button on a progress bar?

Is there any work around for this? Could I place a layout behind the progress bar that has a halt-script button on it? I haven't tested -- would that actually interrupt a script that was taking a while to perform some PHP? I'll try that right now. Any help would be great.

Thanks,
Bill

Good Idea

Micah Woods's picture

Hello Bill,

First off, I think you've come to the correct assumption, you really can't stop the progress bar. In many situations, this is exactly what you want but I realize there are other situations where it makes perfect sense to be able to cancel. In addition to a cancel button, I would also like to be able to specify a parameter like "cancel_on_esc" allowing the user to use the escape key to cancel as well.

I've added this to the wish list for the next version. We'll see what we can do.

Thanks for the suggestion!

Regards,
Micah

Nothing Stops the PHP except Timeout

It looks like "Halt script" and Apple "." won't stop the PHP mid-run (which is to be expected). I suppose I could allow users to adjust their timeout settings if they were experiencing problems, but a "Cancel" button would be very beneficial.

Any thoughts?

Thanks,
Bill