-
"Unfocus" Buttons?
So, I'm not sure how else to describe what I'm looking for - I'm trying to "unfocus" a button.
I have the spacebar set to perform an action - which works fine.
If I press my button (which is used for something totally different) - that works fine.
Now.... If I press the spacebar after pressing my button, the spacebar triggers a click on the button.
I noticed that after pressing a button, it remains "focused".. Is there a way to disable this?
The only workaround I have come up with is: after it is clicked, destroy it, and create a new instance in its place..
I would assume there is a better way to disable the focus on this button after every click.
Help a noob out?
-
Try using the Active Object box over the standard button object.
I think its a lot better as it has more features and appears the focus doesn't stick on it.
If you wanted to use the regular button object I might have an edit box off screen and force the focus to that to get it off the button.
A good feature request would be the ability to focus/unfocus on the old button object -- Seems to be missing.
-
Jeff, I really appreciate your input on this.
Sorry you have had to deal with me so much recently ;)
Cheers on having such a phenomenal product!
-
I also have the problem of wanting to "unforcus" a button, so that it is no longer controlled by the space bar (which is a hard wired Windows feature). I tried the approach suggested by Jeff, but with no success. I created an Edit Box off screen and then set the action of Control > Focus On for the Edit Box object, when the button object was pressed. However, the focus remained on the button.
Did any one succeed in moving the focus away from the button when it is clicked? This does seem a little counter intuitive!
Thanks!
-
I tried something out and it looks like disabling and enabling the button does the trick, simply make an event:
Button clicked > Disable button + Enable button
Hope that helps