User Tag List

Results 1 to 10 of 10

Thread: Text Box Questions

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProPatch Maker
    coreyschroeder's Avatar
    Join Date
    Apr 2014
    Location
    ATX
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Text Box Questions

    Hey there,

    I bought a copy of 2.5 Developer last week, and am really enjoying the program so far!
    I'm going through that noob stage of building little practice applications to try and familiarize myself with the functionality of the program, the objects, etc..

    Right now, I'm working with an Edit Box, and I have a few questions regarding this object:

    A) I would like to select all of the text within an Edit Box when you user clicks in that region (single left click)... Haven't been able to figure that out..?

    B) If I wanted to check and see if the edit box has a specific word or phrase within all of the input content, then perform an action based on said specific word or phrase - how would I go about doing that?

    C) Lets say I wanted to capture the strings input into the Edit Box, but exclude specific letters or word - how can I do that?

    D) I cant seem to find a place where I can alter the border color for this object. Like, if I wanted to have a black text box with white writing and a white border - I've found where I can edit the background color and the text color, but no border color..?

    Any help is greatly appreciated!

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA 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)
    gkinfinity's Avatar
    Join Date
    May 2011
    Location
    USA
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would also like to know the answer to (A) if anyone has a solution

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For B and C, you would need to use the Findstring command.
    This might help: http://community.clickteam.com/threads/84061-String-Tutorial

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,114
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Was (A), selecting all text, ever figured out?

  5. #5
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    California, USA
    Posts
    1,241
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Try using the Rich Edit Object

    if Rich Edit Object has input focus
    + Only one action when event loops

    = Block, select all
    DT
    Special Projects Director

  6. #6
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A) there is an extension called Edit Box Selection, it works in conjunction with edit boxes so that you can select text in an edit box with an event.

    Available here: http://dark-wire.com/store/extlist.php

    I feel clickteam should urgently add this to the Edit Box functionality, it's frustrating as to why this isn't here by default

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,114
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Text Box Questions

    Ryan, I totally agree.
    DT, the only issue with Rich Edit is tabbing. It creates a tabbed space and the RIch Text doesn't have innate tab stops.

    Fixes we need:

    Edit Box:
    -selecting/blocking actions.
    -text alignment options.
    -border color/width options.

    Rich Edit:
    -tab stop option.
    -toggle tabbed spacing option.
    -innate word/sentence/paragraph count variables.
    -retrieve text by line number (helpful since word wrap and newline$ are very different things when frame size alters your text box size).
    -line-by-line highlighting action (could be implemented with the above variable rather easily).
    -intercept key presses before they effect the text contents (very useful when you need to know what was just backspaced).
    -more reliable font attribute retention when setting new text.
    -cursor width control.
    -text highlight color control.
    -align text vertically options.
    -border color/width options.

    List Object:
    -tab stop option.
    -font attributes altered on a line-by-line basis.
    -selected line highlight color control.
    -find/replace within entire contents.
    -text alignment controls.
    -border color/width options.

    Great objects but with a few fixes they'd be perfect!

  8. #8
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,114
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Ryan View Post
    A) there is an extension called Edit Box Selection, it works in conjunction with edit boxes so that you can select text in an edit box with an event.

    Available here: http://dark-wire.com/store/extlist.php

    I feel clickteam should urgently add this to the Edit Box functionality, it's frustrating as to why this isn't here by default
    Ugh, the link for EditBoxSel.mfx is dead. Does anyone have it?

  9. #9

  10. #10
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,114
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Oh yeah, and features from the TextRect object built in would be great too for any of those text handling objects. Knowing the size the text takes up, after font attributes are applied, makes resizing the box as a whole and placing things around it so much easier!

Similar Threads

  1. Questions regarding text in-game
    By dnlhern in forum Fusion 2.5
    Replies: 5
    Last Post: 10th February 2014, 02:14 AM
  2. A couple of questions - Text Related....
    By Mojo_Bone in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 17th April 2010, 03:24 PM
  3. Text Blitter Questions
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th March 2009, 09:06 PM
  4. Formatted text object questions
    By RaiKitsune in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th March 2008, 09:15 AM
  5. Questions Maker Using Text & Questons
    By drnebula in forum File Archive
    Replies: 11
    Last Post: 17th February 2007, 07:46 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
  •