Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>



Adding many items to the list fast
To add many items to the TAdvSmoothListBox, the use of BeginUpdate / EndUpdate will significantly accelerate this:
var i: integer; begin AdvSmoothListBox1.Items.BeginUpdate; for i := 0 to 1000 do begin AdvSmoothListBox1.Items.Add.Caption := 'item '+ inttostr(i); end; AdvSmoothListBox1.Items.EndUpdate; end;