Combo Box

T

Tony

How can I hide a dropdown button on Combo box? I just
want my user to view it on the form like textbox.

Thank you,
Tony
 
F

fredg

How can I hide a dropdown button on Combo box? I just
want my user to view it on the form like textbox.

Thank you,
Tony

If you want to just view it like a text box, why not just change it to
a text box?

Anyway, you can make a small rectangle, sized big enough to cover the
dropdown button. Set it on top of the button.
Set it's BackStyle to Normal, it's BackColor to whatever the color is
of the surrounding form, it's Special Effect property to Flat, and
it's Border property to Transparent. Then click Format + Bring to
Front.
Next set the combo box Enabled to No, and It's Locked property to Yes.

You can view the combo box data but it cannot be changed.
 
V

Van T. Dinh

Fred

I agree with your first idea. Why go through all the
hassles to make a ComboBox look like a TextBox?

If there is any need to display the value in the unbound
Column of the Column of the ComboBox, then there are
Recordset & DLookUp to retrieve this with the value used
in the "bound Column" f the ComboBox.

Cheers
Van
 

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

Similar Threads

Combo box 0
Combo or list box 0
Weekly Report 2
Combo Box 1
Combo box problem 5
Crating User Form to Add Names 1
"Reset" combo boxes 4
Programmatically change combo box sorting 4

Top