> I just ran into the need for this also, and noticed the listview does not > offer a scroll() method. > > In my case I need to scroll it back to 0,0 the very top. > Anyone got any idea how to get this done? > > On Jun 10, 2009 2:10 PM, "Pete Morrison" <pkmorri...@gmail.com> wrote: > > I am trying to use a listview to provide a display of progress messages > such that > the newest should be visible at the bottom - ie scroll up as new message > are added. > Have tried .MoveLast & .Refresh as i add items - does nothing visible. > > Of course the scroll bar can be manually moved by the user but that is not > very elegant. > > Is there any other list type control that will let me do this or am I > missing something. > -- >
Listview items have an "EnsureVisible" method, that will scrolls the ListView so that the specified item becomes visible. Hope that helps... -- Benoît ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user