• 0
Sign in to follow this  
Followers 0
oSoDirty

Disable Esc, Enter, and Numpad Enter While display is open

Question

I'm working with a dialog that I want to remain open until a progress bar completes. My problem is that said dialog will close if esc or either enter key is pressed. I'm looking for a way to disable them until the for "_i" loop tied to the progress bar is completed. I have searched around a bit for answers but I don't quite understand the little bit I have found on it. Any insight on this would be greatly appreciated.

Thanks in advance, -Dirty

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted (edited)

doe people have to remain standing still and not do anything?

 

disableUserInput true
thing that needs to happen
disableUserInput false

Edited by InsertCoins

Share this post


Link to post
Share on other sites
  • 0

I know of that. But I have a cancel button, and disable user input breaks that. 

Share this post


Link to post
Share on other sites
  • 0

Decided to give it another go. Solved with an event handler

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.