User Tag List

Results 1 to 5 of 5

Thread: Edit Box Focus bug

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Edit Box Focus bug

    This is a strange one. I'm attempting to build a data editor (for personal use only mind) and am adding a few convenience features into it. The editor uses about 300 edit boxes, but I can't see to set focus on any edit box after the 47th.

    Basically, for every edit box after the 47th - nothing I do will cause it to set focus. You can try it by using the arrow keys about, which will move the focus around the top 4 rows fine, but anything after that it refuses to do. The strange thing is it still has a focus of sorts (see the counter at the bottom of the app - which displays what the currently selected edit box is), but it cannot actually be edited.

    clickteameditbox.mfa

    It's not super important but it IS very strange.

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Spike. If I understood your post correctly, the focus order goes in the order the edit box was created, otherwise you must set focus manually.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No no, that is what i've done. But when you try and set the focus to one of the Edit boxes beyond the 48th, it refuses to do so via events.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is happening because many of your events to create an Edit Box are missing a condition. For example, you have this:

    -On Loop "nametext1"
    -LoopIndex("nametext1") >= 36

    In this event, you forgot to restrict the actions to loop indexes below 48. This means that after loop 36, 2 Edit Boxes will be created per fast loop, causing your selection system not to work.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah right. That would explain it. Thanks.

Similar Threads

  1. [BUG] Edit Box Object--> “INPUT FOCUS”
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 5th September 2012, 03:14 PM
  2. Beta 33- [BUG] Edit box focus
    By Kisguri in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 23rd August 2012, 06:12 PM
  3. Bug focus edit box
    By volgot in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 18th June 2012, 10:57 AM
  4. Edit Object - no focus
    By JoKa in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 23rd April 2010, 06:41 AM
  5. MMF 2 - Cannot Set Focus to Edit Mask Object
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th March 2007, 01:13 AM

Posting Permissions

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