LISTBOX : how to insert VBTab or Blank spaces ?

Discussion in 'ASP .Net' started by teo, Aug 21, 2006.

  1. teo

    teo Guest

    I have a LISTBOX
    how to insert VBTab or Blank spaces ?

    in Example

    Listbox1.Items.Add ("Hallo" & vbTab & "GoodMorning")
    or
    Listbox1.Items.Add ("Hallo" & " " & "GoodMorning")

    Unfortunately I get no separation beteween
    I get only: "Hallo GoodMorning"
    teo, Aug 21, 2006
    #1
    1. Advertising

  2. teo

    Altman Guest

    Try:

     

    Listbox1.Items.Add ("Hallo" & "     " &
    "GoodMorning")


    teo wrote:
    > I have a LISTBOX
    > how to insert VBTab or Blank spaces ?
    >
    > in Example
    >
    > Listbox1.Items.Add ("Hallo" & vbTab & "GoodMorning")
    > or
    > Listbox1.Items.Add ("Hallo" & " " & "GoodMorning")
    >
    > Unfortunately I get no separation beteween
    > I get only: "Hallo GoodMorning"
    Altman, Aug 21, 2006
    #2
    1. Advertising

  3. teo

    Bren Guest

    I think the horizontal tab character code is

    rgds
    bren

    Why do I climb mountains? Simple! because they are there
    www.3peakschallenge.co.uk
    Bren, Aug 21, 2006
    #3
  4. teo

    teo Guest

    Doesn't work:
    I get Hallonbsp;    GoodMorning



    >Try:
    >
    > 
    >
    >Listbox1.Items.Add ("Hallo" & "     " &
    >"GoodMorning")
    >
    >
    >teo wrote:
    >> I have a LISTBOX
    >> how to insert VBTab or Blank spaces ?
    >>
    >> in Example
    >>
    >> Listbox1.Items.Add ("Hallo" & vbTab & "GoodMorning")
    >> or
    >> Listbox1.Items.Add ("Hallo" & " " & "GoodMorning")
    >>
    >> Unfortunately I get no separation beteween
    >> I get only: "Hallo GoodMorning"
    teo, Aug 22, 2006
    #4
  5. teo

    teo Guest

    Doen't work:
    tried ListBox1.Items.Add("Hallo" & Chr(9) & Chr(9) & Chr(9) &
    "GoodMorning")
    I get:
    Hallo GoodMorning




    >I think the horizontal tab character code is
    >
    > rgds
    >bren
    >
    >Why do I climb mountains? Simple! because they are there
    >www.3peakschallenge.co.uk
    >
    teo, Aug 22, 2006
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. F. Algrøy

    Trouble using the vbTab in string

    F. Algrøy, Jan 4, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    5,443
    William Ryan
    Jan 6, 2004
  2. Siva M
    Replies:
    0
    Views:
    631
    Siva M
    Aug 30, 2006
  3. John B. Matthews
    Replies:
    4
    Views:
    665
    John B. Matthews
    Sep 12, 2008
  4. Roedy Green
    Replies:
    3
    Views:
    620
  5. Tomasz Chmielewski

    [CSS] how can I show spaces as spaces?

    Tomasz Chmielewski, Sep 5, 2009, in forum: HTML
    Replies:
    21
    Views:
    1,591
    Jan C. Faerber
    Sep 10, 2009
Loading...

Share This Page