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
 

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

Back
Top