Push button code:
dim s(-1) as String
dim i as Integer
TextArea1.Text=trim(TextArea1.Text)
s=Split (TextArea1.Text, EndOfLine)
for i=0 to s.Ubound
listbox1.AddRow s(i)
next
Is this the best way to add a single or multiple lines from a textarea to a listbox?
If I leave out the trim line I get blank rows in the listbox.
Thanks,