Combo box to start at first character after user selects

G

Guest

The text in my combo box is longer than the control can show, when I click on
the down arrow, I can see the whole text, but when I select one of the items,
the text box of the combo box shows the end of the text. Due to limited room
I can not expanded the combo box control, so I want to show the front of the
text and not the default back of the text when a user selects a value.

Currently the user selects from the combo box, then has to hit the "home"
key to see the beginning of the text.
 
C

Cor Ligthert [MVP]

Mike,

This makes in my idea no sense, you can wider your combobox or put it on a
popup showdialog form.
All other solutions will be changed in feature because of the customers who
will go on complaining.

Cor
 
G

Guest

Like I said, "Due to limited room I can not expanded the combo box control..."

If there is no easy solution, then I will send the text of the combo box to
a label. I have room for a label at the top of the form, I just don't have
room to expand the combo box.
 
C

Cor Ligthert [MVP]

As I said a popup window a little bit of pseudo here.

dim frm as new MyComboboxWindow
frm.Dataset = ...
frm.DisplayMember = ...
frm.showdialog
whatIneeded = frm.theresult
frm.dispose
 

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