I want to rewrite text, but......just?
Welcom.
If it's possible, that the one clicking on some buttons rewrite all content some textboxes to a ComboBox but to it appeared oneself this as list.
If meaning has that write to textbox has one line, or many lines (multiline)
some answer will be valuable, thx
Re: I want to rewrite text, but......just?
Do you want to add what is in a textbox to a combo box or what is selected in a combo box to a textbox? :confused:
Re: I want to rewrite text, but......just?
I want to add what is in a textbox to a combo box.
Re: I want to rewrite text, but......just?
but so as i wrote to with content textbox go out list
Re: I want to rewrite text, but......just?
Quote:
Originally Posted by Tamgovb
I want to add what is in a textbox to a combo box.
VB Code:
Private Sub Combo1_Click()
Text1.Text = Text1.Text & Combo1.Text
End Sub
Re: I want to rewrite text, but......just?
Quote:
Originally Posted by Tamgovb
but so as i wrote to with content textbox go out list
What do you mean by "list"
A listbox?
A textfile?
?
Re: I want to rewrite text, but......just?
:confused: Hmmm....sorry, my English, this probably will be in English > drop down <
I will say differently.
I want to content textbox be showed in combobox how every different content combobox
Re: I want to rewrite text, but......just?
Quote:
Originally Posted by Tamgovb
I want to content textbox be showed in combobox
Ok. You want the contents of the textbox to be showed in the combo.
VB Code:
Combo1.Additem Text1.Text
Quote:
Originally Posted by Tamgovb
how every different content combobox
I'm kinda lost on this one.
Re: I want to rewrite text, but......just?
Do you want to add a list of items in a textbox to a combobox? If so, then something like this:
VB Code:
Private Sub Command1_Click()
Dim sList() As String
Dim N As Integer
sList = Split(Text1.Text, vbCrLf)
For N = 0 To UBound(sList)
Combo1.Additem sList(N)
Next N
End Sub
Re: I want to rewrite text, but......just?
Hack, alone you see what is my English
very thx all for answer