User Tag List

Results 1 to 3 of 3

Thread: How do I Get Text from Rich Edit Box?

  1. #1
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    MSA's Avatar
    Join Date
    Jun 2018
    Location
    Pulau Pinang, Malaysia
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I Get Text from Rich Edit Box?

    I don't know why, but it seems really just to even get a simple text. What to do? What's with first character and second character? Can anyone tell me how?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Norway
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Set the first character to 0 and then set the second character to the number of characters. This way you get the entire text.

    GetText$( "Rich Edit Object", 0, GetNChars( "Rich Edit Object" ) )

  3. #3
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    MSA's Avatar
    Join Date
    Jun 2018
    Location
    Pulau Pinang, Malaysia
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you! For a second there, I thought it's not working then I suddenly I realized that I change the Rich Edit Object's name to Textbox. So, to whoever copied the code but it doesn't seem to work, check your object's name and replace Rich Edit Object name with yours.

    Anyway, thanks Decal!

Similar Threads

  1. Rich Text Edit Issues
    By droberson in forum Fusion 2.5
    Replies: 4
    Last Post: 8th November 2016, 03:13 PM
  2. Transparent Rich Edit Text?
    By Pablo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th July 2010, 04:19 PM
  3. Get text: Rich Edit 2.0
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 26th July 2009, 01:17 PM
  4. Rich text edit box
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th September 2007, 12:08 PM
  5. How do I "Set RTF text" in Rich Edit Box?
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 11th December 2006, 06:24 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
  •