How can I get the selected item number from a combo box?

M

mezzanine1974

How can I get the selected item number from a combo box. Say that
combo has only two items: (Madam;Mister).
If "Madam" is selected, I would like to get item number of Madam < it
is zero in this example.
Thank you
 
M

mscertified

You refer to the value via the name of the control. If it is multi-column,
you append .column(number) to the name where number is 0 for the first column.

-Dorian
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top