473,396 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

How to roll your own combo box?

MLH
Am interested in larger fonts in controls. Combo boxes,
no matter how you size them and their font, have tiny
little hard-to-hit dropdown buttons on the right end. Is
it possible/practical to combine some kind of control
(built-in to A97) with a command button to emulate a
c ombo-box of sorts?
Mar 14 '07 #1
6 2648
MLH wrote:
Am interested in larger fonts in controls. Combo boxes,
no matter how you size them and their font, have tiny
little hard-to-hit dropdown buttons on the right end. Is
it possible/practical to combine some kind of control
(built-in to A97) with a command button to emulate a
c ombo-box of sorts?
The size of that arrow is controlled by Windows. If you think they are too
small in Access you must feel they are also too small everywhere else you see
them in Windows. That being the case then changing the Windows setting would
seem the best solution.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Mar 14 '07 #2
On Tue, 13 Mar 2007 21:45:06 -0400, MLH <CR**@NorthState.netwrote:

I like Rick's suggestion. A large font theme would do nicely.

To literally answer your question: no, you cannot build controls with
Microsoft Access. You can build controls with any development tool
that can create ActiveX Controls, such as Visual Basic, and if you're
lucky you can then use those controls in A97 (10 years old, but who's
counting). I say lucky because early Access versions weren't very good
hosts to ActiveX controls.

I guess you could patch something together with a textbox, a listbox,
and a button with an image on it, but believe me, it's going to be
quite a bit of work to make this work seamlessly.

Also note that there are keyboard equivalents to hitting the dropdown
button, such as Alt+CurDown.

If you consider those buttons small, how about the smart tag buttons,
or those forms with a mini title bar?

-Tom.

>Am interested in larger fonts in controls. Combo boxes,
no matter how you size them and their font, have tiny
little hard-to-hit dropdown buttons on the right end. Is
it possible/practical to combine some kind of control
(built-in to A97) with a command button to emulate a
c ombo-box of sorts?
Mar 14 '07 #3
On Tue, 13 Mar 2007 21:45:06 -0400, MLH wrote:
Am interested in larger fonts in controls. Combo boxes,
no matter how you size them and their font, have tiny
little hard-to-hit dropdown buttons on the right end. Is
it possible/practical to combine some kind of control
(built-in to A97) with a command button to emulate a
c ombo-box of sorts?
I don't quite understand what the larger font size has to do with the
size of the drop-down button.

To make the button wider, set the Scroll bar size in the Windows
properties dialog, however it will change the scroll bar size for all
Windows programs.
You can also make it a bit taller in the combo box simply by sizing
the height of the combo box taller. Try 0.3 inches.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Mar 14 '07 #4
MLH
Thx for the input, Rick. When I Right- lick on a blank section of the
Windows Desktop. Select Properties + Appearance + Advanced, I
see 18 Windows objects listed in the dropdown box there whose
appearances may be selected for modification. I don't see the combo
box arrow listed as a configurable item. Where did you find the
facility for controlling the size of the arrow?

>
The size of that arrow is controlled by Windows. If you think they are too
small in Access you must feel they are also too small everywhere else you see
them in Windows. That being the case then changing the Windows setting would
seem the best solution.
Mar 14 '07 #5
On Wed, 14 Mar 2007 11:04:22 -0400, MLH wrote:
Thx for the input, Rick. When I Right- lick on a blank section of the
Windows Desktop. Select Properties + Appearance + Advanced, I
see 18 Windows objects listed in the dropdown box there whose
appearances may be selected for modification. I don't see the combo
box arrow listed as a configurable item. Where did you find the
facility for controlling the size of the arrow?
>>
The size of that arrow is controlled by Windows. If you think they are too
small in Access you must feel they are also too small everywhere else you see
them in Windows. That being the case then changing the Windows setting would
seem the best solution.
Did you not see my reply?
It's the Scroll Bar size. You can make it wider there.
Then make the combo box height taller to make the scroll bar taller.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Mar 14 '07 #6
MLH
I think you said Message Box - not Scroll Bar size.
I just tried scroll bar size and that's the ticket. Did
the trick for me. Many thx, fredg.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
Did you not see my reply?
It's the Scroll Bar size. You can make it wider there.
Then make the combo box height taller to make the scroll bar taller.
Mar 16 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: terry | last post by:
Hi, I have a php web page which lets users to select choices from combo box and submit the page to update the item description. However, when I have many items on the same page, the row position...
2
by: Peter Sands | last post by:
Hi, I am testing out some restores to a stand-by server, by roll-forwading the logs. I have this setup. There is no user-exit, but logretain is on, for archive logging. I have 2 DB's on...
3
by: hmiller | last post by:
Hey everyone, I am having a hell of a time trying to set this menu system up. Here's what I'm trying to do. Combo Box One; is populated by names under properties "row source" "Phase 1"...
2
by: kiranmn75 | last post by:
I want to dynamically populate a combo box through javascript. Data is coming from a array. Sometimes data list may contain items in excess of 2000. Explorer takes more than 5 seconds to...
4
by: aj | last post by:
DB2 LUW v8.2 FP 14 RHAS 2.1 I have a DB2 online DB backup that was done w/ the INCLUDE LOGS option. I am interested in restoring that backup, and rolling forward ONLY the logs contained in the...
1
by: lenest | last post by:
I need help writing a program.... You are to write a python program to accomplish the following: a.. Play a dice game of Craps using a random number generator to simulate the roll of the...
6
by: Dave | last post by:
I want to put the information that the user selects in my combo boxes into a subform that lies on the same form as the combo boxes. Thanks for your help already, Dave
1
by: elma.arsalan | last post by:
Hello: Does anyone know whether it is possible to roll back MS Access database without loosing any data? Or can a roll back be undone (kinda odd). Any comment would be appreciated.
4
by: clairelee0322 | last post by:
Hello guys again! I am a C++ beginner and I am working on another project.. It's called Dice Lab with Loops.. unforunately I don't even know how to start the program.... Don't blame me for not pay...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.