User Tag List

Results 1 to 10 of 10

Thread: Crash with iOS Single line edit box

  1. #1
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Crash with iOS Single line edit box

    If I put the iOS Single line edit box on a frame, then run on an actual iOS device, click into the box to bring up the keyboard, then run an action to go to the previous frame, the code crashes on this method:

    // ---------------------------------------------------------------------------
    // Entree traitement evenement lie a un objet
    // AX= ID Message / Code message
    // ESI= Structure RO
    // ---------------------------------------------------------------------------
    -(BOOL)handle_EventCObject*)pHo withCodeint)code
    {
    rhCurCode = code; // Stocke pour access rapide

    // Des evenements definis?
    // ~~~~~~~~~~~~~~~~~~~~~~~
    short temp = (short)-(code>>16); // Vire le type
    LPDWORD pw = pHo->hoEvents+temp; // Les evenements lies a l'objet

    DWORD dw = *pw;
    if ( dw != 0 ) // Un pointeur direct?
    {
    [self computeEventListLPDWORD)((LPBYTE)eventPointers+dw) withObject:pHo];// Evalue les evenements
    return YES;
    }
    return NO;
    }

    The line it breaks on is DWORD dw = *pw;
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Crash with iOS Single line edit box

    What is the conidtion you use to go to the other frame?

  3. #3
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Crash with iOS Single line edit box

    I have an active object on screen, an event condition to test if user clicks on the active object and if so run the previous frame action from the storyboard. I only get a crash if the ios keyboard is showing when I click on this active object. A work around is to disable the single line edit box and enabke it again before the previous frame action, this hides the keyboard and stops the error.

    Incidentally, could you add an action we can call to put an edit box in focus and show the keyboard automatically without having to ask the user to click in the box first? The enable action doesn't seem to do this and I can't see another way to do it'
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Crash with iOS Single line edit box

    Quote Originally Posted by AndyH
    I only get a crash if the ios keyboard is showing
    Maybe related to this bug reported earlier:

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Main=34079&Number=2479 74#Post247974

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Crash with iOS Single line edit box

    Corrected, for single and multiple line edit zone.

  6. #6
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Crash with iOS Single line edit box

    Fantastic, if you're able to add an action to set the focus and open the keyboard while you're there, that would be sweet.
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Aug 2011
    Location
    Beverly Hills, CA USA
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Crash with iOS Single line edit box

    Francois I think it's great you and Andos keep fixing these things, but how do customers like myself get access to these fixes beyond waiting for the 253 release? It seems like lots of defects have been addressed but I am still waiting anxiously for the next release.

    Thanks.

  8. #8
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Crash with iOS Single line edit box

    Keith are you in the iOS beta forum?
    I bet they will be released there for testing here shortly.

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Aug 2011
    Location
    Beverly Hills, CA USA
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Crash with iOS Single line edit box

    Not sure where that is Jeff. Where do I find that?

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Crash with iOS Single line edit box

    I do not think he is. But if you want to participate to the beta testing (we welcome new testers), and be ready to find bugs, please send me your registration number and you real life name.

Similar Threads

  1. iOS Single Line Editbox..focus and limit..
    By Earl in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 6th May 2014, 09:46 AM
  2. Set iOS Single Line Editbox FOCUS ON
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 2nd December 2013, 10:18 AM
  3. Ios single line edit box and numbers
    By ClickJoe in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 7th July 2013, 03:36 PM
  4. [BUG] Single line edit box for iOS has no return key (numeric keypad)
    By Sumo in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 25th October 2012, 05:37 PM
  5. Single Line ios Edit box common problem
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 6th September 2012, 07:48 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
  •