Results 1 to 5 of 5

Thread: Choose the selected line for a custom list

  1. #1
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,838

    Talking Choose the selected line for a custom list

    Hi guys,
    Does exist a good way for define a specific selected line for a custom list
    ex:
    I should like that when a load my screen with my custom list the selected line is the second and not always the first !

    Thanks

  2. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,146
    Blog Entries
    51
    cant you just load the screen with LOADCOMMAND||DOWN in that case? If you know what the second line is, you can always use CLFIND;<SEARCHTERM>. CLFIND searches the CLDESC of each line in the custom list and selects based on the search term.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #3
    Low Bitrate rtgree01's Avatar
    Join Date
    Aug 2007
    Location
    STL
    Posts
    98
    From the documentation,


    "CLPOS" - This allows you to set the selected item.
    Example: "CLPOS;5" sets the 5th item in list as selected
    I think this is what you want...

    Ryan

  4. #4
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,838
    Thanks Sonicxtacy02 and rtgree01 for your helps .
    My exact need is to search by name in my actual case !

  5. #5
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,838
    Cool, i have just added 'SDK.Execute("CLFIND;" & Language)' into my plugin and now when i load my screen , the hi-lighted line is well my actual language.

    Thanks

Similar Threads

  1. line height in list and single click
    By fruchtfliege in forum Road Runner
    Replies: 4
    Last Post: 10-09-2011, 06:15 PM
  2. (SD) type line for custom list?
    By Sonicxtacy02 in forum Road Runner
    Replies: 3
    Last Post: 05-11-2009, 12:10 PM
  3. Replies: 11
    Last Post: 06-08-2006, 11:43 PM
  4. Replies: 1
    Last Post: 11-03-2004, 08:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •