Listbox - Active index

Discussion in 'Python' started by rahulnag22@yahoo.com, May 25, 2007.

  1. Guest

    Hi,
    I am using a listbox in selectmode = MULTIPLE, I can get the current
    selected item in the listbox from index = "ACTIVE" , but is there a
    way to convert this "ACTIVE" to get the current selection index as a
    number.

    For multiple selectmode listboxes it returns a tuple of selected
    indexes, so I would have to write some extra code to get the current
    active selection index from the tuple, instead I was hoping there
    would be a way to get the current selection index number from the
    "ACTIVE" index.

    Thanks
    Rahul
     
    , May 25, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. blenderdude
    Replies:
    0
    Views:
    1,055
    blenderdude
    Aug 3, 2003
  2. DC Gringo
    Replies:
    0
    Views:
    408
    DC Gringo
    Apr 6, 2004
  3. kent
    Replies:
    1
    Views:
    883
    Andrew de la Harpe
    May 3, 2004
  4. carlos seramos
    Replies:
    2
    Views:
    489
    carlos seramos
    Aug 1, 2003
  5. Tomasz Chmielewski

    sorting index-15, index-9, index-110 "the human way"?

    Tomasz Chmielewski, Mar 4, 2008, in forum: Perl Misc
    Replies:
    4
    Views:
    307
    Tomasz Chmielewski
    Mar 4, 2008
Loading...

Share This Page