Hello
I've created a .NET 2.0 form and added 6 text boxes, 1 combo box and 2
button controls.
The combo box has a DropDownStyle of DropDown, so the user can still type in
the combo box.
The combo box has the follows values in it's drop down list:
"Dear Sir,"
"Dear Madam,"
I want the text between "Dear " and "," to be highlighted when the combo box
gets focus.
I've tried adding code into the ComboBox Enter event to try and force it to
select just the text between "Dear " and "," using the SelectionStart and
SelectionLength properties, but it keeps selecting all the text.
How can I just select the text between "Dear " and "," in my ComboBox?
Thank you for your help.