User Tag List

Results 1 to 5 of 5

Thread: "Unfocus" Buttons?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProPatch Maker
    coreyschroeder's Avatar
    Join Date
    Apr 2014
    Location
    ATX
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "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?

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    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.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProPatch Maker
    coreyschroeder's Avatar
    Join Date
    Apr 2014
    Location
    ATX
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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!

  4. #4
    Clicker Fusion 2.5SWF Export Module

    Join Date
    May 2014
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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!

  5. #5
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    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
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

Similar Threads

  1. Pos of the stick and buttons of shooting when you choose "controlled by an extension"
    By Koji_Kabuto in forum Android Export Module Version 2.0
    Replies: 19
    Last Post: 10th March 2014, 02:14 PM
  2. "Cannot load joystick2.mfx" when "Compress the runtime" unchecked. Fine when checked.
    By DistantJ in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th September 2013, 09:44 PM
  3. "Bug" For Saving and Loading Frame Positions AND "Timer Glitch"?
    By Zarpo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th March 2012, 12:40 PM
  4. Issues with "Clickteam Movement Controller" and "Runtime" Object
    By jimmyorpheus in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th November 2011, 07:10 AM
  5. Is it any extension to "Unfocus" everything?
    By Locaz00 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th November 2008, 08:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •