>I am doing something that adds data to a listbox.
>
>BUT I want to move tot he last item in the list box, so I can see the items
>being added.
>
>anyone know how I should go about this ?

for I := 0 to 100 do begin
  LB.Items.Add(IntToStr(I));
  LB.Selected := LB.Items.Count-1;
  Application.ProcessMessages;
end;

should do it...

Note that moving to the last added item all the time will slow the add
process...

--
Aaron@home

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to