473,385 Members | 1,867 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,385 software developers and data experts.

ComboListBox?

What I want is a ComboListBox, which looks like a ComboBox with a drop
down list, but acts like a list box in that the user can only pick
from the list, but not type in a new value.

I can program this easily enough by using the TextChanged event of a
ComboBox, but am I missing something? Is there a simple flag either
to make a ComboBox clickable but untypeable or to change the
appearance of a ListBox?

Thanks in advance

rossum

--

The ultimate truth is that there is no ultimate truth
Jan 11 '06 #1
3 1333
Have you looked at the DropDownStyle property of the ComboBox?

--
Tim Wilson
..NET Compact Framework MVP

"rossum" <ro******@coldmail.com> wrote in message
news:uo********************************@4ax.com...
What I want is a ComboListBox, which looks like a ComboBox with a drop
down list, but acts like a list box in that the user can only pick
from the list, but not type in a new value.

I can program this easily enough by using the TextChanged event of a
ComboBox, but am I missing something? Is there a simple flag either
to make a ComboBox clickable but untypeable or to change the
appearance of a ListBox?

Thanks in advance

rossum

--

The ultimate truth is that there is no ultimate truth

Jan 11 '06 #2
Change your 'DropDownStyle' property to 'DropDownList'.

- arioch

"rossum" wrote:
What I want is a ComboListBox, which looks like a ComboBox with a drop
down list, but acts like a list box in that the user can only pick
from the list, but not type in a new value.

I can program this easily enough by using the TextChanged event of a
ComboBox, but am I missing something? Is there a simple flag either
to make a ComboBox clickable but untypeable or to change the
appearance of a ListBox?

Thanks in advance

rossum

--

The ultimate truth is that there is no ultimate truth

Jan 11 '06 #3
On Wed, 11 Jan 2006 22:48:14 +0000, rossum <ro******@coldmail.com>
wrote:
What I want is a ComboListBox, which looks like a ComboBox with a drop
down list, but acts like a list box in that the user can only pick
from the list, but not type in a new value.

I can program this easily enough by using the TextChanged event of a
ComboBox, but am I missing something? Is there a simple flag either
to make a ComboBox clickable but untypeable or to change the
appearance of a ListBox?

Thanks in advance

rossum


Thanks Tim and Arioch. I know something like that had to be in there
somewhere, but I just couldn't find it.

rossum
--

The ultimate truth is that there is no ultimate truth
Jan 12 '06 #4

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

Similar topics

0
by: trint | last post by:
Since we have a laserjet 4350tn with 4 paper trays, the .dll from hp of course adds to to funtionality (like being able to select a paper tray under one of the tabs) to the "Print" dialog. I want...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.