gollygood
asked on
adding to a listbox
I know this code is wrong, but can someone correct my code to allow multiple items to be added to a l;ist box.
flatListBox1.Items.Add(Nam e.Text) and (address.Text) and (index2.text);
flatListBox1.Items.Add(Nam
ASKER
thanks, i tried to edit my Q. But..
how do i make the lines in the listbox differnt shades or is it another component ? if so which one?
how do i make the lines in the listbox differnt shades or is it another component ? if so which one?
ASKER
and how do i have the items i added to list box in a line and not listed , like..
|name|address|index|
|name|address|index|
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
actually :
procedure TForm1.Button1Click(Sender : TObject);
begin
flatListBox1.Items.Add('Na me.Text' + '|'+ 'address.Text' +'|' + 'index2.text');
end;
end.
procedure TForm1.Button1Click(Sender
begin
flatListBox1.Items.Add('Na
end;
end.
flatListBox1.Items.Add(add
flatListBox1.Items.Add(ind