Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > LISTBOX : how to insert VBTab or Blank spaces ?

Reply
Thread Tools

LISTBOX : how to insert VBTab or Blank spaces ?

 
 
teo
Guest
Posts: n/a
 
      08-21-2006
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"

 
Reply With Quote
 
 
 
 
Altman
Guest
Posts: n/a
 
      08-21-2006
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"


 
Reply With Quote
 
 
 
 
Bren
Guest
Posts: n/a
 
      08-21-2006
I think the horizontal tab character code is

rgds
bren

Why do I climb mountains? Simple! because they are there
www.3peakschallenge.co.uk


 
Reply With Quote
 
teo
Guest
Posts: n/a
 
      08-22-2006
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"


 
Reply With Quote
 
teo
Guest
Posts: n/a
 
      08-22-2006
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
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: How to trim a String trailing spaces, but not leading spaces? Roedy Green Java 3 09-14-2008 02:10 AM
Re: How to trim a String trailing spaces, but not leading spaces? John B. Matthews Java 4 09-12-2008 05:28 AM
Re: LISTBOX : how to insert VBTab or Blank spaces ? Siva M ASP .Net 0 08-30-2006 04:43 PM
Trouble using the vbTab in string F. Algr°y ASP .Net 1 01-06-2004 01:39 AM



Advertisments