CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Language: NoFormat

Transferindo TStringList para TListBox...

204 Views
Copy Code Show/Hide Line Numbers
var
  list: TStringList;
begin
  list := TStringList;
  try
    list.Add( 'Testando' );
    ListBox1.Items.Assign( list );
  finally
    list.free;
  end;
end;
by Thiago Pedro
  September 02, 2010 @ 4:05pm
Tags:
Description:
Método simples para transferir uma list(TStringList) para um ListBox1(TListBox).

Add a comment


Report Abuse
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate