Set selected item in combo box

  • Thread starter Thread starter Tim Kelley
  • Start date Start date
T

Tim Kelley

How do I programmatically select an time in a combo box? I can set the text
but it does not automatically set the selected property. There is a
SetCurSel() method but I don't know what the index of the item I want to
select(or how to find it).

Thanks
 
How do I programmatically select an time in a combo box? I can set the text
but it does not automatically set the selected property. There is a
SetCurSel() method but I don't know what the index of the item I want to
select(or how to find it).

Tim,

When you insert the text into the list, you should be returned the
index value.

Dave
 
Back
Top