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

Enter text in ComboBox

Just a quickie:
I have a ComboBox, and set it so I can write in its text field. Now, as
I write and then press enter, nothing happens (except a beep). Do I need
to handle a KeyPress event to invoke the ValueChanged event and make the
entered data persistent? It's one of those zoom combo's.

- Peder -
Nov 16 '05 #1
3 3472
Hi Peder,

What exactly do you want to happen when you press enter? And what is a zoom
combo?

Happy Coding!
Morten Wennevik [C# MVP]

"Peder Y" <1@nowhere.com> skrev i melding
news:%2****************@TK2MSFTNGP12.phx.gbl...
Just a quickie:
I have a ComboBox, and set it so I can write in its text field. Now, as I
write and then press enter, nothing happens (except a beep). Do I need to
handle a KeyPress event to invoke the ValueChanged event and make the
entered data persistent? It's one of those zoom combo's.

- Peder -

Nov 16 '05 #2
Hi Peder,

What exactly do you want to happen when you press enter? And what is a zoom
combo?

Happy Coding!
Morten Wennevik [C# MVP]

"Peder Y" <1@nowhere.com> skrev i melding
news:%2****************@TK2MSFTNGP12.phx.gbl...
Just a quickie:
I have a ComboBox, and set it so I can write in its text field. Now, as I
write and then press enter, nothing happens (except a beep). Do I need to
handle a KeyPress event to invoke the ValueChanged event and make the
entered data persistent? It's one of those zoom combo's.

- Peder -

Nov 16 '05 #3
Hi Morten!
A zoom combo is one of those ComboBoxes used in i.e. Word with the zoom
percentage on the document (75%, 100%, 150% etc). It is possible to
enter a custom percentage in the text field (i.e. 103%), but my combo
beeps and doesn't invoke any events. Hope this is clearer. This must be
a very normal question, altough I haven't found it. In general too many
results are returned and I expected it to have a simple solution. Thanks!

- Peder -
Morten Wennevik wrote:
Hi Peder,

What exactly do you want to happen when you press enter? And what is a zoom
combo?

Happy Coding!
Morten Wennevik [C# MVP]

"Peder Y" <1@nowhere.com> skrev i melding
news:%2****************@TK2MSFTNGP12.phx.gbl...
Just a quickie:
I have a ComboBox, and set it so I can write in its text field. Now, as I
write and then press enter, nothing happens (except a beep). Do I need to
handle a KeyPress event to invoke the ValueChanged event and make the
entered data persistent? It's one of those zoom combo's.

- Peder -


Nov 16 '05 #4

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

Similar topics

8
by: ShyGuy | last post by:
Is it possible to use code to enter some text into a combo box and then have the cursor placed at the end of the text for more imput?
0
by: Peder Y | last post by:
Just a quickie: I have a ComboBox, and set it so I can write in its text field. Now, as I write and then press enter, nothing happens (except a beep). Do I need to handle a KeyPress event to...
9
by: Li Pang | last post by:
I use a combobox control to populate the data. I want to prevent to change data (freeze the data in the filed). The only solution I have is to set Enabled property to "False", but it gray out the...
11
by: Sven | last post by:
I want this: when I press commandbutton1, then the program should send the keystroke "enter" to text1.text... how can I do this?
3
by: Darin | last post by:
I have a problem I just can't figure out. I have a form with a subform, and the recordsource of the subform has criteria based on some unbound fields in the parent form so that data in the parent...
4
by: kveerendrareddy | last post by:
Hi friends, In my web page i have to create a combobox in HTML+JavaScript. The nature of that combobox should be such that it should allow the user to enter the data in the combobox...
1
by: Andrus | last post by:
I need to enter null value from combobox to business object property. My combobox datasource does not contain ValueMember with null value. So I tried to create combobox which stores null to bound...
1
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hello I've created a .NET 2.0 form and added 6 text boxes, 1 combo box and 2 button controls. The combo box has a DropDownStyle of DropDown, so the user can still type in the combo box. ...
1
by: sjarmy | last post by:
I am using javascript to make a dropdownlist act like a combobox and it is work well. The issue I'm having is when the user types in the combobox and finds the selection he wants, he has to use the...
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: 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
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.