Results 1 to 10 of 10

Thread: I want to rewrite text, but......just?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Location
    in Poland
    Posts
    390

    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
    I know, I know, my English is bad, sorry .....

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Location
    in Poland
    Posts
    390

    Re: I want to rewrite text, but......just?

    I want to add what is in a textbox to a combo box.
    I know, I know, my English is bad, sorry .....

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Location
    in Poland
    Posts
    390

    Re: I want to rewrite text, but......just?

    but so as i wrote to with content textbox go out list
    I know, I know, my English is bad, sorry .....

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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:
    1. Private Sub Combo1_Click()
    2. Text1.Text = Text1.Text & Combo1.Text
    3. End Sub

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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?

    ?

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Location
    in Poland
    Posts
    390

    Re: I want to rewrite text, but......just?

    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
    I know, I know, my English is bad, sorry .....

  8. #8
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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:
    1. Combo1.Additem Text1.Text
    Quote Originally Posted by Tamgovb
    how every different content combobox
    I'm kinda lost on this one.

  9. #9
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    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:
    1. Private Sub Command1_Click()
    2.   Dim sList() As String
    3.   Dim N As Integer
    4.  
    5.   sList = Split(Text1.Text, vbCrLf)
    6.   For N = 0 To UBound(sList)
    7.     Combo1.Additem sList(N)
    8.   Next N
    9. End Sub

  10. #10

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Location
    in Poland
    Posts
    390

    Re: I want to rewrite text, but......just?

    Hack, alone you see what is my English

    very thx all for answer
    I know, I know, my English is bad, sorry .....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width