Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combobox Buttons 1

Status
Not open for further replies.

timb94

Programmer
Joined
Apr 20, 2004
Messages
58
Location
US
I've searched a number of sites (this one included) plus Google and so far haven't found an answer to my problem.

I'm in the process of developing a test application for a tablet pc. The form I'm designing has a number of combo boxes on it.

The field people have asked if I can make the down arrow on the combobox larger. They say its sometimes hard to use the stylus pointer with the standard one. I know I can increase the font of the combo box but this does nothing for the arrow.

I would really like to help them out if I can. If not; Oh Well.

If there are any ActiveX controls out there or if anyone has any other suggestions, I'm open for them.

Thanks.
 
I don't think there's a way. I tried the Microsoft Forms 2.0 combo box but it has the same problem. But fiddling around, I just did this hack-job workaround:

I put a button on the form, covering the down-arrow of the combo box. The button's caption = "q" (no quotes) and font WingDings 3 Font Size = 12. This is a big down-arrow. In the button's OnClick event, I put this:

Me.cboComboBox.SetFocus
Me.cboComboBox.Dropdown

So it sets the focus to the combo box, and the combo box drops-down which is the normal behavior. So the worst thing is that the combo box comes to the front so it's little arrow goes on top of the big new arrow. In order to remedy that, I put in the AfterUpdate event of the combo box:

Me.btnExpandCombo.SetFocus

to set the focus back to the big new button.

Hope this helps.

g


Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244. Basics at
 
Thanks GingerR.

I'll try that. It sounds that it may work.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top