I am telling a listbox or memo to scroll down line by line with a perform statement. I want to disable the down button I am using when the user has scrolled to the bottom.
procedure TForm1.sbDownClick(Sender: TObject);
if ( ? have scrolled to the bottom ? ) then
sbDown.enabled := false;
How can I find out when the bottom line of the list items or memo lines has been displayed? I will also need to solve a similar problem when scrolling up.
Thanks in advance - Dan