Change Drop Down Arrow Size on Combo box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When you resize a drop down or combo box, although the "data area" grows as
you make the object larger, the actual drop down arrow (icon) stays the same
size. Without resorting to changing the screen resolution, is there a way to
make this part of the tool larger. The reason I ask is that my users are
using a touch screen, and I want each button the be as large as the end of an
average finger, and I would like the Combo box tool as a similar size.

Thank you Tim.
 
I don't believe so, no. What you could do is place a command button beside
the combo box, and add the line 'Me.NameOfComboBoxHere.DropDown' to the
Click event of the combo box.

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
Brendan, thank you, will do just that. Tim

Brendan Reynolds said:
I don't believe so, no. What you could do is place a command button beside
the combo box, and add the line 'Me.NameOfComboBoxHere.DropDown' to the
Click event of the combo box.

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
Brendan, I now get the error message “You cant reference a property or method
for a control unless the control has focus†I guess clicking on the button
sets the focus off the combo control and onto the button itself. Is there a
line of code I can use behind the button to set the focus on the combo box,
and then action the button event? Something like "setfocus me.combo26 then
me.combo26.DropDown" thanks Tim
 
This should do it - just replace 'cmdTest' with the name of your command
button, and 'cboTest' with the name of your combo box.

Private Sub cmdTest_Click()

Me!cboTest.SetFocus
Me!cboTest.Dropdown

End Sub

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
Brendan, thank you again, will try this tomorrow, as Im doing a presentation
with this prototype this afternoon, and dont want to change anything as IVe
doen screen shots ... and incase I corrupt something!

Tim
 
Back
Top