User Tag List

Results 1 to 2 of 2

Thread: How to a find a word in a List

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid 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)

    Join Date
    Jul 2008
    Location
    United States
    Posts
    83
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Question How to a find a word in a List

    Hi - I write educational Android apps that often deal with terminology. I would like to have a glossary frame where the user can input a term and then the app would go to word in a list.
    I can get the glossary into the app by using a list box. I would like the user to click on a "Search" button, type a word into an "Edit" box and then have the list box jump to that word in the list.
    The List Box works great for displaying a list of terms and definitions. It does, unfortunately, lack the ability to apply text features to individual words.
    BTW - The "Find" functions are not in the Android version of the List Box or Edit Box. I wonder why they were removed?
    So, anyway, does anyone know of a way of searching for a term in a long list of words and definitions that is about 500 lines long? Thanks.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid 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)

    Join Date
    Jul 2008
    Location
    United States
    Posts
    83
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Okay - I think I solved this.
    What I did was create an active object that I named "INDEX". Then I set the Alterable values and strings to match the word number and the word string respectfully. The string being searched for is entered in an Edit Box. Then the string from the Edit Box is retrieved to a String object. This string object is compared, word by word, with the string variables in the INDEX. Once found, the corresponding word number is retrieved from the Alterable values of INDEX. This is the line number of the word in the LIST BOX which I then set the focus to. I just have to work out a couple of rough spots like a "word not found" message and clearing everything for another search. But, in a preliminary run, things seem to work.

Similar Threads

  1. Search word in list "not list view"
    By copperbob in forum Fusion 2.5
    Replies: 1
    Last Post: 28th August 2014, 11:35 AM
  2. Problem! :( Find and replace a word...
    By ChrisStreet in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 28th May 2010, 10:22 PM
  3. Word list
    By Zabooza in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th May 2009, 03:22 PM
  4. Dictionary word list inquiry
    By ace in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th December 2006, 02:31 PM
  5. Find word in a file then delete the whole line ?
    By Rushino in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th November 2006, 07:07 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
  •