User Tag List

Results 1 to 6 of 6

Thread: Any help for my icon view problem ?

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2006
    Location
    Near Nantes (Brittany)
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Any help for my icon view problem ?

    Hello !
    I asked for help a few days ago concerning the icon view object. Do nobobody really can help me ? Perhaps its my poor english... This is my problem :
    In the iconview object I need to know which of my icons is selected. I tried "Get Selected Icon no" but I can't understand how it works. I thought that it would give me the icon number of the selected icon but it asks a value as a parameter.
    Thank you in advance for any help !

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Any help for my icon view problem ?

    I think the documentation is very clear. The parameter is the index of the icon in the selection. For example if 2 icons are selected, you retrieve the index of the first one with SelIconAt( "IconView object", 0) and the index of the second one with SelIconAt( "IconView object", 1) (ps: not sure if the indexes are 0-based).

    YveS.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2006
    Location
    Near Nantes (Brittany)
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Any help for my icon view problem ?

    Thank you, Yves ! I understand now. So "Get Selected Icon number" tells how many icons are selected and not the specific number of the selected icon (0 if the first icon is selected, 1 if it's the second, etc.) I mean... which icon is selected. (in french : je cherche le numéro de l'icône sélectionnée et non pas le nombre d'icônes sélectionnées...)
    Is there a way to know it ?

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Any help for my icon view problem ?

    []"Get Selected Icon number" tells how many icons are selected[/]

    No, not at all. The number of selected icons is given by "Get selection length".

    For example, if your object has 100 icons and the icons 10 and 20 are selected, "Get selection length" will return 2 and you have to use "Get Selected Icon Number" to get the index of the selected icons:

    SelIconAt( "IconView object", 0) should return 10
    SelIconAt( "IconView object", 1) should return 20

    Yves.

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2006
    Location
    Near Nantes (Brittany)
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Any help for my icon view problem ?

    Okay ! I think I understand at last (I'm afraid I'm a bit slow). So, if I only allow people to select one icon, SelIconAt( "IconView object", 0) will tell me which icon is selected (and return -1 if no icon is selected) ?
    Thank you very much, Yves !

  6. #6
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Any help for my icon view problem ?

    I haven't tested, but that should be something like that. <img src="/center/images/graemlins/smile.gif" alt="" />

    Yves.

Similar Threads

  1. Request Icon View Pro
    By DJFuego in forum Extension Development
    Replies: 8
    Last Post: 2nd September 2009, 05:04 PM
  2. Icon View Bug?
    By Blood_Wist in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 23rd May 2009, 04:31 PM
  3. Icon View Bug
    By Blood_Wist in forum File Archive
    Replies: 0
    Last Post: 22nd May 2009, 09:37 PM
  4. [Bug] Icon view - editing labels not possible?
    By Quinto in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th August 2008, 05:16 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
  •