User Tag List

Results 1 to 8 of 8

Thread: Line break in a DialogBox

  1. #1
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    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)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)

    Line break in a DialogBox

    Can anyone tell me how to put a line break in a static text component within a dialogbox design?

    The static text component allows multiple lines because it wraps with proper text justification according to settings chosen, but I can't get a line break in. Pressing control and enter whilst editing doesn't work; using codes like /n or \n doesn't do anything. I tried pasting in text from a text editor with line breaks but it only accepted the first line.

    Anyone got any ideas?

  2. #2
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    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)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)

    Line break in a DialogBox

    Can anyone tell me how to put a line break in a static text component within a dialogbox design?

    The static text component allows multiple lines because it wraps with proper text justification according to settings chosen, but I can't get a line break in. Pressing control and enter whilst editing doesn't work; using codes like /n or \n doesn't do anything. I tried pasting in text from a text editor with line breaks but it only accepted the first line.

    Anyone got any ideas?

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Line break in a DialogBox

    1. Make a new application which contains a singe-line edit box
    2. At start of frame set the edit box to NewLine$ .
    3. Run the application.
    4. Copy the second character
    5. Paste that character into the dialogue object input box
    .:::.Joshtek.:::.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Line break in a DialogBox

    1. Make a new application which contains a singe-line edit box
    2. At start of frame set the edit box to NewLine$ .
    3. Run the application.
    4. Copy the second character
    5. Paste that character into the dialogue object input box
    .:::.Joshtek.:::.

  5. #5
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Line break in a DialogBox

    I found another bug in the Edit Control for the Dialog Box object: You can only make newlines when pressing 'enter' if you hold 'control' down on the same time.

  6. #6
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Line break in a DialogBox

    I found another bug in the Edit Control for the Dialog Box object: You can only make newlines when pressing 'enter' if you hold 'control' down on the same time.

  7. #7
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    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)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)

    Re: Line break in a DialogBox

    thanks, that worked a treat. I take it that was an LF character... surely there is a better way to do this though??

    Anyway, cheers again <img src="/center/images/graemlins/smile.gif" alt="" />

  8. #8
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    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)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)

    Re: Line break in a DialogBox

    thanks, that worked a treat. I take it that was an LF character... surely there is a better way to do this though??

    Anyway, cheers again <img src="/center/images/graemlins/smile.gif" alt="" />

Similar Threads

  1. Choco-Break help
    By Coolcat in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 15th December 2013, 06:36 PM
  2. Beta 28 -- Double spaces in string cause line break
    By Jeff in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 17th May 2012, 05:36 PM
  3. line break
    By arfa in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th February 2012, 04:56 PM
  4. Scintilla -> Add new line or break?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 10th October 2011, 02:20 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
  •