edit item in CcomboBox after start run app

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, All,

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

Thanks,
Martin
 
martin1 said:
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
 
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
 
martin1 said:
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
 
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
 
martin1 said:
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.Items.Add(Me.ComboBox1.Text)


Armin
 
Back
Top