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

edit items in combobox

Hello,

I want allow the user to edit the items but the only thing I found is to
delete and insert items. Is there a way how you can do that and in with
event?
I tried combobox.selecteditem=combobox.text --> runtime error: no string
I tried first insert and then delete the old item but then the event
_textchanged is fired only one time(for the first changed letter), even if I
set the selecteditem to the new inserted item. So I'm stuck with it ..

Greatings Tupolev
Nov 20 '05 #1
1 4616
Hi,
If U bind a DataTable to the ComboBox, U need not
Delete and Insert the item.

Regards
Mahesh

-----Original Message-----
Hello,

I want allow the user to edit the items but the only thing I found is todelete and insert items. Is there a way how you can do that and in withevent?
I tried combobox.selecteditem=combobox.text --> runtime error: no stringI tried first insert and then delete the old item but then the event_textchanged is fired only one time(for the first changed letter), even if Iset the selecteditem to the new inserted item. So I'm stuck with it ..
Greatings Tupolev
.

Nov 20 '05 #2

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

Similar topics

3
by: Wayne Wengert | last post by:
I am trying to populate a combobox with a lisy of items. I want the 1st item to be "Make a Selection" and the following items will be names from a table in my DB (See code below). When I run the...
3
by: RRoberto | last post by:
Goodmorning, Is it possible to edit a combobox like a textbox? I will appreciate any suggestion . Thank You Roberto
5
by: Wally | last post by:
I need to browse all ITEMS of a ListBox and all ITEMS of a ComboBox. I wrote 2 distinct Sub that are almost identical. The difference is only the object type. How could I browsing ITEMS using only...
5
by: Supra | last post by:
I got icon in combobox working ...but how do i let user edit in combobox.text? i can't edit combobox.text.........i set to dropdownlist. i am building webbrowser. regards, supra
9
by: Don | last post by:
Is there any way to detect when an item has been added to the Items collection of a combobox or listbox? I am inheriting a Combobox and want to validate items before they are added to the...
1
by: Gian Paolo | last post by:
hi all i'm looking for a way to add 2 items in a combobox in the same line and hide one. i'm working on the code above but it returns me only the last value i entered and i do not know why.... ...
5
by: =?Utf-8?B?bWFydGluMQ==?= | last post by:
Hi, All, how to edit item in the comboBox in main form afetr start run app? Thanks, Martin
5
by: Kevinp | last post by:
I've spent the last four hours Google searching for a way to disable items in a Combobox. I found one example in C++ which I can't get to work and another in C# that I couldn't get to work either....
4
by: Smish | last post by:
hi, I have a combobox which has dropdown style set to "dropdownlist"(since i dont want the element getting populated in the combobox to be edited). Apart from populating the comboxbox from...
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: 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:
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...
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.