Results 1 to 5 of 5
  1. #1
    4 Star Lounger
    Join Date
    May 2003
    Location
    Manchester, Gtr Manchester, England
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts

    data in text box to appear in a horizontal list (2000)

    Hi, I have a combo on a form, when an item is clicked in the combo, that item transfers to a text box. Multiple items appear in this text box i.e. red, blue, yellow, green etc, all from the combo. I need to have these colours presented in an horizontal list and not vertical as at the moment.

    Kind regards darren.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: data in text box to appear in a horizontal list (2000)

    If you are using the method described by Trudi in <post#=261304>post 261304</post#>, the items should be next to each other horizontally in the text box - if it is wide enough, of course. Otherwise, tell us how you transfer the items to the text box.

    If you mean that you want a combo box laid out horizontally, I must disappoint you. AFAIK, it simply doesn't exist.

  3. #3
    4 Star Lounger
    Join Date
    May 2003
    Location
    Manchester, Gtr Manchester, England
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: data in text box to appear in a horizontal list (2000)

    Thank you Hans, I do refer to method described by Trudi. I need a rest, can't determine my horizions from my verticals, I mean in a vertical list, not horizontal!!!. .

    Kind regards.

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: data in text box to appear in a horizontal list (2000)

    In that case, replace

    txtYourName = txtYourName & ", " & cboYourName

    by

    txtYourName = txtYourName & vbCrLf & cboYourName

    vbCrLf is the symbolic constant in VBA for a carriage return/line feed.

  5. #5
    4 Star Lounger
    Join Date
    May 2003
    Location
    Manchester, Gtr Manchester, England
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: data in text box to appear in a horizontal list (2000)

    Your weight in gold Hans, thanks again, I'll leave you in peace, for now!

Posting Permissions

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