473,385 Members | 1,343 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.

combobox q

Is there a way to make combobox expand
itself when a user start typing into it.
DrowDownStyle = DropDown.
Any help is very welcome.

thanks

--
Strah @ Langan
Nov 20 '05 #1
4 1253
Hello,

Yes, for the combobox create an event for TextChanged and add the following
line to it:

NameOfComboBox.DroppedDown = True

Hope this helps

--
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@headfirst.co.uk
-

"Strahimir Antoljak" <st***@netzero.net> wrote in message
news:O1****************@TK2MSFTNGP11.phx.gbl...
Is there a way to make combobox expand
itself when a user start typing into it.
DrowDownStyle = DropDown.
Any help is very welcome.

thanks

--
Strah @ Langan

Nov 20 '05 #2
Hello,

Yes, for the combobox create an event for TextChanged and add the following
line to it:

NameOfComboBox.DroppedDown = True

Hope this helps

--
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@headfirst.co.uk
-

"Strahimir Antoljak" <st***@netzero.net> wrote in message
news:O1****************@TK2MSFTNGP11.phx.gbl...
Is there a way to make combobox expand
itself when a user start typing into it.
DrowDownStyle = DropDown.
Any help is very welcome.

thanks

--
Strah @ Langan

Nov 20 '05 #3
this is pretty much exactly what I was looking
for. much obliged.

--
Strah @ Langan

"Simon Jefferies" <si***@cooltoolsonline.co.uk> wrote in message
news:eG**************@TK2MSFTNGP09.phx.gbl...
Hello,

Yes, for the combobox create an event for TextChanged and add the following line to it:

NameOfComboBox.DroppedDown = True

Hope this helps

--
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@headfirst.co.uk
-

"Strahimir Antoljak" <st***@netzero.net> wrote in message
news:O1****************@TK2MSFTNGP11.phx.gbl...
Is there a way to make combobox expand
itself when a user start typing into it.
DrowDownStyle = DropDown.
Any help is very welcome.

thanks

--
Strah @ Langan


Nov 20 '05 #4
this is pretty much exactly what I was looking
for. much obliged.

--
Strah @ Langan

"Simon Jefferies" <si***@cooltoolsonline.co.uk> wrote in message
news:eG**************@TK2MSFTNGP09.phx.gbl...
Hello,

Yes, for the combobox create an event for TextChanged and add the following line to it:

NameOfComboBox.DroppedDown = True

Hope this helps

--
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@headfirst.co.uk
-

"Strahimir Antoljak" <st***@netzero.net> wrote in message
news:O1****************@TK2MSFTNGP11.phx.gbl...
Is there a way to make combobox expand
itself when a user start typing into it.
DrowDownStyle = DropDown.
Any help is very welcome.

thanks

--
Strah @ Langan


Nov 20 '05 #5

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

Similar topics

13
by: Mr. B | last post by:
Here's the situation... You've a combobox with Items already added. Say they look like this (or even lines of text): 10-00-232 10-00-256 10-01-006 10-01-213 10-02-200
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...
8
by: Zlatko Matię | last post by:
There is a form (single form) and a combobox. I want that current record of the form is adjusted according to selected value in the combobox. Cuurrent record should be the same as the value in the...
1
by: anonymous | last post by:
I've been trying to put a them, please help me out. Here's the major parts of my code: public Form1() { DataSet myDataSet = new DataSet("myDataSet"); DataTable testTable = new...
3
by: TT (Tom Tempelaere) | last post by:
Hay there, I'm writing my own DataGridComboBoxColumn because .NET 1.1 does not have one (I hope .NET 2.0 supplies one). I based it on this article:...
2
by: Don | last post by:
I've looked high and low for some code that will allow me to have a combobox with a flat borderstyle. I found a few examples, but nothing that was really usable for me. I had the following...
4
by: jon f kaminsky | last post by:
Hi- I've seen this problem discussed a jillion times but I cannot seem to implement any advice that makes it work. I am porting a large project from VB6 to .NET. The issue is using the combo box...
6
by: dbuchanan | last post by:
VS2005 I've been reading all the help I can on the topic (MSDN, other) but I can't make sense of this. Desired behavior; The user is to choose from the displayed list of the databound combobox...
1
by: polocar | last post by:
Ciao a tutti, leggendo qua e lą per il forum ho scoperto che non sono l'unico ad avere questo problema. Se si inserisce un controllo ComboBox in un form di C#, non č possibile impostare la sua...
5
by: Rich | last post by:
Hello, I have a search application to search data in tables in a database (3 sql server tables). I populate 2 comboboxes with with data from each table. One combobox will contain unique...
1
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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:
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...

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.