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

Stupid Combobox Question

Okay, no one laugh at me...:-)
I have a combo box and I want to prevent my users from typing anything into
it. They can only select the availble options in the box and nothing
else...how does one do that?

Thanks!
Derek
Nov 21 '05 #1
8 1384
"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> schrieb:
I have a combo box and I want to prevent my users from typing anything
into it. They can only select the availble options in the box and nothing


Set the combobox's 'DropDownStyle' property to 'DropDownList'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #2
"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> schrieb:
I have a combo box and I want to prevent my users from typing anything
into it. They can only select the availble options in the box and nothing


Set the combobox's 'DropDownStyle' property to 'DropDownList'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #3
Doink - oh yeah! hehe
Thank ya

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> schrieb:
I have a combo box and I want to prevent my users from typing anything
into it. They can only select the availble options in the box and
nothing


Set the combobox's 'DropDownStyle' property to 'DropDownList'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #4
Doink - oh yeah! hehe
Thank ya

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> schrieb:
I have a combo box and I want to prevent my users from typing anything
into it. They can only select the availble options in the box and
nothing


Set the combobox's 'DropDownStyle' property to 'DropDownList'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #5
Don't feel bad. I was going to post that question yesterday... When I
saw it today, I was happy that I didn't have to ask it. LOL Thanks!

Derek Martin wrote:
Doink - oh yeah! hehe
Thank ya

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> schrieb:
I have a combo box and I want to prevent my users from typing anything
into it. They can only select the availble options in the box and
nothing


Set the combobox's 'DropDownStyle' property to 'DropDownList'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


--
---
Aaron Smith
Remove -1- to E-Mail me. Spam Sucks.
Nov 21 '05 #6
Don't feel bad. I was going to post that question yesterday... When I
saw it today, I was happy that I didn't have to ask it. LOL Thanks!

Derek Martin wrote:
Doink - oh yeah! hehe
Thank ya

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> schrieb:
I have a combo box and I want to prevent my users from typing anything
into it. They can only select the availble options in the box and
nothing


Set the combobox's 'DropDownStyle' property to 'DropDownList'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


--
---
Aaron Smith
Remove -1- to E-Mail me. Spam Sucks.
Nov 21 '05 #7
:-) Anything I can do to help...hahahahaha

"Aaron Smith" <th**********@smithcentral.net> wrote in message
news:mw*****************@newssvr16.news.prodigy.co m...
Don't feel bad. I was going to post that question yesterday... When I saw
it today, I was happy that I didn't have to ask it. LOL Thanks!

Derek Martin wrote:
Doink - oh yeah! hehe
Thank ya

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> schrieb:

I have a combo box and I want to prevent my users from typing anything
into it. They can only select the availble options in the box and
nothing

Set the combobox's 'DropDownStyle' property to 'DropDownList'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


--
---
Aaron Smith
Remove -1- to E-Mail me. Spam Sucks.

Nov 21 '05 #8
:-) Anything I can do to help...hahahahaha

"Aaron Smith" <th**********@smithcentral.net> wrote in message
news:mw*****************@newssvr16.news.prodigy.co m...
Don't feel bad. I was going to post that question yesterday... When I saw
it today, I was happy that I didn't have to ask it. LOL Thanks!

Derek Martin wrote:
Doink - oh yeah! hehe
Thank ya

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> schrieb:

I have a combo box and I want to prevent my users from typing anything
into it. They can only select the availble options in the box and
nothing

Set the combobox's 'DropDownStyle' property to 'DropDownList'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


--
---
Aaron Smith
Remove -1- to E-Mail me. Spam Sucks.

Nov 21 '05 #9

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

Similar topics

10
by: Mr. B | last post by:
I've been seeking the solution to this. But can't figure it out (sounds simple enough). When you Populat a ComboBox, you can select the initial displayed items on startup simply by setting the...
6
by: Georges Heinesch | last post by:
An easy ComboBox question. ;) I would like to create a ComboBox, which permits to cycle through 3 subforms. These 3 subforms are entered in the ComboBox as Value List. The subforms should only...
7
by: Nicolae Fieraru | last post by:
Hi All, I am trying to change the rowsource of a combobox when I click on it. I played with many events, associated with the form and the combobox, but still haven't figured out what is the way...
4
by: David Sworder | last post by:
Hi, I have a ComboBox that contains 1,400 sorted items . Here's the list: abba apple ... cabba caccaa capple
4
by: Beeeeeeeeeeeeves | last post by:
I have an ownerdrawn combo box which I am drawing with an image and some text, this is all working beautifully apart from the difference in the Brush I have to draw the background and the text with...
0
by: Hiroyuki Tanaka | last post by:
Hi All, I am trying to develop an application for a touch screen using buttons for the numeric pad with Completion ComboBoxes. At the moment I am having a problem sending the button presses to...
2
by: pei_world | last post by:
I want to implement a key hit with enter to dropdown a combobox that is in the datagrid. in this case I need to override its original behaviours. I found some codes from the web. Does anyone know...
6
by: Sakharam Phapale | last post by:
Hi All, How to fill one ComboBox from other ComboBox control? 1) Only setting the reference does the trick but doesn't show items in control. If you see in immediate window, it shows...
9
by: Brian | last post by:
I am having a heck of a time trying to refresh data in a combobox. I have a combo box that periodically needs to have its bound data refreshed. I can refresh the data, but every time I refresh it...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.