468,241 Members | 1,678 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,241 developers. It's quick & easy.

Hiding the control button on Combo box

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
2 2653
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
"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.

Similar topics

2 posts views Thread by Tim Graichen | last post: by
6 posts views Thread by Angel | last post: by
22 posts views Thread by Mr Newbie | last post: by
2 posts views Thread by Fred Flintstone | last post: by
7 posts views Thread by Hans Merkl | last post: by
13 posts views Thread by mirandacascade | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.