User Tag List

Results 1 to 8 of 8

Thread: How do I confirm if there is "NO TEXT" in edit obj

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Apr 2008
    Posts
    488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I confirm if there is "NO TEXT" in edit obj

    I am designing an application where I need to verify if there is text in the edit object box. The only reference i see is "If text is a number" I wish there was something like "Contains Text" so I could negate it.

    Any suggestions on a code that may reflect that?

  2. #2
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Location
    Suffolk, UK
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do I confirm if there is "NO TEXT" in edit

    You can use 'Compare two general values' and compare if the editbox text is equal to "" (or is different to "" depending on what you want)

    TreeHugger

  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: How do I confirm if there is "NO TEXT" in edit

    For more information on comparing with strings see http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=72489
    .:::.Joshtek.:::.

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do I confirm if there is "NO TEXT" in edit

    Use the "has just been modified" condition, and negate it.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Derby, United Kingdom
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do I confirm if there is "NO TEXT" in edit

    What TreeHugger said. Bruto yours wouldn't work if any other edits were edited after the initial edit box.

  6. #6
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do I confirm if there is "NO TEXT" in edit

    Quote Originally Posted by IsaacBoy
    What TreeHugger said. Bruto yours wouldn't work if any other edits were edited after the initial edit box.
    Probably true. I used with one edit box only at the frame and it worked fine. Never tried with more than one edit box per frame.

  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do I confirm if there is "NO TEXT" in edit

    TreeHugger's solution is the best-working one, in my opinion.

  8. #8
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Apr 2008
    Posts
    488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do I confirm if there is "NO TEXT" in edit

    Thanks, worked like a charm tree!

Similar Threads

  1. "Load text file" from "The Edit Object" BUG?
    By MOBii in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th December 2013, 05:43 AM
  2. Set edit box text to string$("string object") causes long delay
    By MJK in forum XNA Export Module Version 2.0
    Replies: 4
    Last Post: 22nd August 2012, 02:58 PM
  3. "Caret" problems with the Rich Edit Object/Fast Loop Question
    By Gullyking in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th June 2012, 04:41 AM
  4. Proper Text Wrapping With "Typed" Text Effect
    By Blue66 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 2nd January 2012, 07:12 AM
  5. How do I confirm if there is "NO TEXT" in edit obj
    By MikeB in forum Install Creator and Patch Maker
    Replies: 0
    Last Post: 17th April 2008, 05:56 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
  •