3 Replies Latest reply on Apr 30, 2009 8:32 AM by Michael Borbor

    How can I retrieve the count of Selection Indices in a ComboBox component?

    greensyn

      Hi All

       

      I am using a ComboBox whose options are populated by an XML snippet.

       

      Now I have the task of setting said ComboBox's selectedLabel to an option delivered by a different XML snippet.  SelectedLabel is a read-only property, so I am left with SelectedIndex.  My plan is to loop through all the indices of the ComboBox until the label matches the value that the ComboBox must be set to.

       

      After some rigorous searches, I have not been able to find a way to retrieve the count of the option of a ComboBox.

       

      Thanks in advance and let me know what other information you need as I will be checking back fro replies often.

       

      -Mike