User Tag List

Results 1 to 7 of 7

Thread: How do you get a list box tobe "unselected"?

  1. #1
    No Products Registered

    Join Date
    May 2007
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do you get a list box tobe "unselected"?

    Sorry if it's not the correct terminology!


    What I am looking for is this:
    Lets say you have a list box with 5 names. If you click in the box, it will highlight one of the names.

    I want to be able to get rid of that highlight. Is it possible?


    if you tell it to lose focus or dehighlight, you still have a line selected in there...

    I'd like to "lose" that highlight... (so none of the lines are selected, but the listbox is still "active".)

    Thanks in advance!

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you get a list box tobe "unselected"?

    I think that it counts no line as selected if you set the "selected line" to -1.

  3. #3
    No Products Registered

    Join Date
    May 2007
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you get a list box tobe "unselected"?

    Quote Originally Posted by DavidN
    I think that it counts no line as selected if you set the "selected line" to -1.

    *tries this*

    Hmmmm. The line is still highlighted...

    Thanks for your reply.



  4. #4
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you get a list box tobe "unselected"?

    Set the "selected line" to 0 and optionally "lose focus" aswell.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

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

    Re: How do you get a list box tobe "unselected"?

    It's -1 if the list is 0 based.

  6. #6
    No Products Registered

    Join Date
    May 2007
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you get a list box tobe "unselected"?

    Quote Originally Posted by Jam
    It's -1 if the list is 0 based.
    THANKS! That did the trick!



  7. #7
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you get a list box tobe "unselected"?

    Ah, that's what it was - I was wondering why it didn't work for you! I'm in the habit of putting everything possible to 0-based.

Similar Threads

  1. list object's "find string exact" help
    By Sumo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th November 2012, 08:09 AM
  2. how to copy the text content of the "list" on a string?
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 17th February 2012, 10:30 PM
  3. [REQUEST] - "List Menu" Object
    By Nico in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 16th September 2011, 03:22 PM
  4. [BUG] - List object "Set Current line" action
    By Nico in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 10th September 2011, 12:01 PM
  5. List object "Load Filelist" for multi extentions
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th February 2010, 09:34 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
  •