Combobox

  • Thread starter Thread starter John Marshall
  • Start date Start date
J

John Marshall

I am trying to figure out how to test if something has been typed into
the editable portion of combobox. I can't seem to get it to do these
steps:
Upon entry to the program
the user can type something in the editable part of the combobox or drop
the box down for the list and the user's new entry will be updated into
the list, how is this done?

John
 
you can find the editable text from a combobox in the property SelectedText

dominique
 
How would I test for this? Something like if (len(combobox1.text)>0)
Then msgbox ("hi")
 
if(combobox1.SelectedText.Trim.Length > 0) then
'user entered text...
end if
 
Back
Top