473,549 Members | 3,109 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

edit item in CcomboBox after start run app

Hi, All,

how to edit item in the comboBox in main form afetr start run app?

Thanks,
Martin
Nov 14 '07 #1
5 1456
"martin1" <ma*****@discus sions.microsoft .comschrieb
Hi, All,

how to edit item in the comboBox in main form afetr start run app?
Click in the combo and start typing. Or, what does your question mean?
Armin
Nov 14 '07 #2
Hi, Armin,

comboBox default connection value is (-999, -999, -999), What I do is let
user edit 3 value to what user need ( for example, 123, 34, 45) in the first
time, then user can select edited value from dropdown.

Any suggestion?

Thanks,
Martin

"Armin Zingler" wrote:
"martin1" <ma*****@discus sions.microsoft .comschrieb
Hi, All,

how to edit item in the comboBox in main form afetr start run app?

Click in the combo and start typing. Or, what does your question mean?
Armin
Nov 14 '07 #3
"martin1" <ma*****@discus sions.microsoft .comschrieb
Hi, Armin,

comboBox default connection value is (-999, -999, -999), What I do
is let user edit 3 value to what user need ( for example, 123, 34,
45) in the first time, then user can select edited value from
dropdown.

Any suggestion?
I'm not sure what you mean. I don't know what a "default connection value"
is. If you want to enable the user add values, you can add an "Add" button
to add the input in the Textbox part of the combo to the combobox list,
assuming that DropDownStyle is not Dropdownlist.
Armin

Nov 14 '07 #4
Hi, Armin,

the default connection value is using comboBox items property to set default
value when create the app. After run the app, let user edit the three values.

How to add "Add" button to comboBox to add input to comboBox list?

Thanks a lot.

Martin

"Armin Zingler" wrote:
"martin1" <ma*****@discus sions.microsoft .comschrieb
Hi, Armin,

comboBox default connection value is (-999, -999, -999), What I do
is let user edit 3 value to what user need ( for example, 123, 34,
45) in the first time, then user can select edited value from
dropdown.

Any suggestion?

I'm not sure what you mean. I don't know what a "default connection value"
is. If you want to enable the user add values, you can add an "Add" button
to add the input in the Textbox part of the combo to the combobox list,
assuming that DropDownStyle is not Dropdownlist.
Armin

Nov 15 '07 #5
"martin1" <ma*****@discus sions.microsoft .comschrieb
Hi, Armin,

the default connection value is using comboBox items property to set
default value when create the app.
Sorry, I still don't understand this.
After run the app, let user edit
the three values.

How to add "Add" button to comboBox to add input to comboBox list?
I'd add a button to the Form. If pressed, add the Item to the list:

Click event:
Me.ComboBox1.It ems.Add(Me.Comb oBox1.Text)
Armin

Nov 16 '07 #6

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

Similar topics

25
10367
by: dixie | last post by:
I have some code that adds new records into a table for each ID in a list box when a button on a form is clicked. This works fine. My problem now is that I wish to be able to edit all the records for people whose ID is in the list box. I made minor changes to the code (mainly replacing rs.AddNew with rs.Edit)and it appears to be updating...
6
7613
by: F-13 | last post by:
I'm working on a BOM in Access 200 from an example downloaded from from the web. The sample database contains three tables, Assemblies (the list of items needed to assemble any assembly), Components (the list of items recognised by the Assemblies Table)and Output (a table used to display the BOM from a chosen assembly). It works fine but...
8
1309
by: Seko | last post by:
Hi, I'd like to know if there's a way to subclass the scrollbar of a CComboBox control? Thanks in advance, David
4
3704
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have another page that lets users modify the shared xml file via some editable controls such as text boxes , option boxes etc. how can i implment this , should i use another xslt file with <INPUT>...
3
4363
by: Tim::.. | last post by:
Can someone please tell me how I go about preselecting an item in a drop drown list when I click the Edit Command in a datagrid? I have tried the following but it doesn't work for me! I would be really grateful for any assistance! Thanks
0
965
by: needin4mation | last post by:
Hi, consider this snippet, please: private void dgdHistory_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { string city=null; if (e.Item.ItemType==ListItemType.Item) { Label city_data = ((Label)e.Item.FindControl("lbl_city")); Response.Write("city: " + city_data.Text);
0
1156
by: anansi | last post by:
Hi Im using MFC (visual studio 2005), I want to create a table, so to speak, of two columns. the first column is a list of strings, and the second column is a respective combo box. This happens to look exactly like the "Properties Window" (when you press alt-enter) in visual studio. I cant seem to implement this: i have tried using a...
1
2157
by: ollielaroo | last post by:
Hi guys, Firstly I did do a search for this one first but I couldn't find anything related in this forum. I am using Dreamweaver MX and trying to build admin pages for an ASP site. My problem is I have Categories and various Products in each Category. I'm trying to build a page to EDIT/UPDATE each product.I want to be able to change the...
1
6701
by: rogerford | last post by:
I have a grid which i bind with values from Database. I have events to edit and update the grid. I am not using SqlDatasource to connect to DB. Rather i am doing the updating of the grid Programmatically. I have 3 columns, LID(item template column) ,LVal (Edit Item template column) and Edit link My Question: 1) My EditITemTemplate column...
0
7446
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7718
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6041
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.