Listbox additem (1 Viewer)

chuckster

Registered User.
Local time
Today, 05:42
Joined
Oct 4, 2000
Messages
52
I'm adding information into a list box but some fields have commas in them. The list box then decides to break the line at the comma and puts it on the next line. Can I stop it from doing this.

e.g.

listbox.additem "chucky, chuckster"

becomes 2 entries in a listbox

chucky
chuckster

but i want it to be a single entry in listbox.

chucky, chuckster

tia

chuckster
 

Mario

Registered User.
Local time
Today, 00:42
Joined
Jul 3, 2002
Messages
67
Check the properties of your listbox. Is the number of column set to 2?
 

chuckster

Registered User.
Local time
Today, 05:42
Joined
Oct 4, 2000
Messages
52
Nope but this works.

listbox.additem "'chucky, chuckster'"

I put single quotes inside the double quotes.

Thanks M8

chuckster
 

Users who are viewing this thread

Top Bottom