Hi there,
Set Listbox.ItemIndex to Listbox.Items.Count - 1 in the routine that adds an
item.
Dave.
----- Original Message -----
From: Graham Mayes <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 12:02 PM
Subject: [DUG]: ListBox VertScrollBar
> Hi, back to real basics'
> I have a listbox which the user views, but cannot edit. When its Items
grow
> beyond its height, the listbox gains a vertial scrollbar. Without user
> action, I would like the listbox to scroll so that the last item is always
> in view.
> Regards
> Graham
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"