User Tag List

Results 1 to 5 of 5

Thread: How to select text from a column of a List View?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to select text from a column of a List View?

    Hey, folks!

    Now that StephenL has taught me how to automatically place content into each column of a List View object, I am now struggling with how to get the string content from a specific column.

    So, I have a List View object with two columns of strings. The second column contains a file URL to open a HTML file in a Web Control object; the first column simply reads a document name in which the HTML file belongs.

    So, what I'm trying to do is find a way in which if the user double-clicks in the first column, that the content of the second column for its corresponding row is sent to the Web Control object. And, likewise, if the second column is double-clicked, then that cell's content is sent to the Web Control object.

    I imagine it's pretty easy to do--I just don't know how! I've been smacking my head against the proverbial wall on this for almost an hour.

    Thank you for your help, folks!


    Most graciously...

    RGBreality

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: How to select text from a column of a List View?

    You could just match the colum ID with the array in my example and use that path, since it is basically the same thing.
    Working as fast as I can on Fusion 3

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to select text from a column of a List View?

    It should be relatively simple. If you would like a quick example, let me know.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  4. #4
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to select text from a column of a List View?

    Hey, StephenL!

    Yeah, I would love a quick example! You might be able to author the expression right on the forum, rather than sending an application file.

    The expression I'm trying to use presently goes something like this:

    Text$("ListView",ItemClick("ListView"), 2)

    Which (I thought) stated roughly to "get the text from the ListView object at the clicked item and at the second column."


    But perhaps I have that wrong...

    Thank you again!


    RGBreality

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to select text from a column of a List View?

    Sure. Here is a very simple example that should show you how to know what the user is clicking on. Hope it helps.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


Similar Threads

  1. Wildcard possible with - Rich Text Object: Controls > Find > Find and Select Text ??
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 22nd March 2013, 01:28 PM
  2. How to insert text into a column of a List View?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th June 2010, 07:53 PM
  3. [Request] Column List
    By Zido in forum Extension Development
    Replies: 1
    Last Post: 11th November 2009, 09:05 AM
  4. Actives or text infront of list view???
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 11th May 2009, 03:31 PM
  5. List View and Icon View
    By LIJI in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th July 2007, 03:45 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
  •