By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,501 Members | 2,768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,501 IT Pros & Developers. It's quick & easy.

Hiding the control button on Combo box

P: n/a
I currently have a form with several combo boxes. I have the background
properties and boarder properties of all form fields set as transparent.

Therefore, the only part of the controls that are visible, is just the drop
down arrow button on the combo boxes. Is there a way of hiding this button
until the field has focus?

Thank you for your help

Tim G
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Will this work on the built-in button on a regular combo box?? What is the
(mybutton) name on the standard combo box button?

Thanks again
"dp@nospam.com" <dp@mrspammo.net> wrote in message
news:iC*****************@nwrddc02.gnilink.net...
myfield gotfocus()
forms!myform!mybutton.visible = true
end sub

"Tim Graichen" <Tg*******@neo.rr.com> wrote in message
news:9r*********************@twister.neo.rr.com...
I currently have a form with several combo boxes. I have the background
properties and boarder properties of all form fields set as transparent.

Therefore, the only part of the controls that are visible, is just the

drop
down arrow button on the combo boxes. Is there a way of hiding this

button
until the field has focus?

Thank you for your help

Tim G


Nov 12 '05 #2

P: n/a
"Tim Graichen" <Tg*******@neo.rr.com> wrote in
news:9r*********************@twister.neo.rr.com:
I currently have a form with several combo boxes. I have the
background properties and boarder properties of all form
fields set as transparent.

Therefore, the only part of the controls that are visible, is
just the drop down arrow button on the combo boxes. Is there
a way of hiding this button until the field has focus?

I haven't found one yet, so I put textboxes on my form, then
overlay with a combobox whose visible property is set to no.

The OnEnter event for the textbox sets the combobox visible, and
does a setfocus to the combobox.

The OnExit for the combobox sets visible back to false.

Bob Q.


Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.