472,787 Members | 1,362 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,787 software developers and data experts.

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 2835
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tim Graichen | last post by:
I may have already asked this one, but, Is there anyway of hiding the dropdown control button on a combobox until the field has focus? Because the values in the combobox can be between 5...
1
by: VINAY | last post by:
Dear All, The subject line could be bit confusing. So let me explain in details, please have patience. I have developed an ActiveX Control(Combo Box Control) in VB6 for a touch screen...
1
by: Amber | last post by:
The DataGrid allows you to make columns visible or invisible on demand - even edit and other special columns. This article will show you how it is done. Some developers have reported problems...
6
by: Angel | last post by:
I have a button, combo, and custom control that i created. When I click the button i want to set certain display properties of my custom control depending whats in the combo. I set those properties...
22
by: Mr Newbie | last post by:
I was thinking about developing a workflow application yesterday and was musing over the different approaches than one could take in restricting specific actions on a ticket( Form ) at any said...
2
by: Fred Flintstone | last post by:
I'm creating a multi-column dropdown since there isn't one. My idea is to override an Infragistics Combo and add the dropdown as a grid object. So I create a basic override of the control. The...
7
by: Hans Merkl | last post by:
Hi, Can anybody recommend a combo box control (textfield + dropdown list) for ASP.NET? I have looked at some products and it seems they all have some problems. I haven't yet found a combo box...
13
by: mirandacascade | last post by:
I want to set things up such that a section of code will have been executed by the time one clicks on the drop down arrow on a combo box control. Currently, that section of code resides in the...
3
mshmyob
by: mshmyob | last post by:
I am scratching my head over this. I have a combo box control where the afterupdate event or even the onchange event keeps runnning twice. Below is some simple code to emulate the problem I am...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.