> Is there a property or technique that can modify the TListBox vertical > scrolling behavior so that the most recently added item is visible at > the bottom of the window?
Check TListBox help for the properties: Height, ItemIndex, ItemHeight, TopIndex The way I would do this is to use the Items.Add method to add the item and return the index of the item added. Set ItemIndex to the new item index. Use ItemHeight and Height to calculate the number of items visible in the ListBox window and set TopIndex so the new item shows at the bottom of the visible items. Don't forget to account for the special case where the calculated TopIndex is negative because there are fewer items in the window than would fill it. If the calculated TopIndex is < 0, set it to 0. HTH, Glenn Lawler ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/i7folB/TM --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

