Global::startBackgroundProgress() - How to Cancel? [SOLVED]

PraxisPraxis Posts: 254

When I run this sample script: http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/general_ui/background_progress/start, pressing Esc has no effect (it does not terminate the ProgressBar), and backgroundProgressIsCancelled() always returns true.

Do others also have this behaviour?

Or is there some other way one is meant to Cancel the ProgressBar?

I'm running DAZ Studio v4.10.0.123 64-bit on Win7.

Thanks for any advice,

P.

Post edited by Praxis on

Comments

  • rbtwhizrbtwhiz Posts: 2,250

    Check it again... I've updated it.

    -Rob

  • PraxisPraxis Posts: 254
    rbtwhiz said:

    Check it again... I've updated it.

    -Rob

    ...// If the user cancelledif( App.isKeySequenceDown( "Esc" ) ){...

     

    That's great - thank you Rob!

    P.

Sign In or Register to comment.