I was unaware I was using an outdated version of Gambas. I added the repository for the most recent stable release (or so I thought) to Ubuntu. I will look into using a GridView of ScrollArea.
Thanks, Patrick On Jul 29, 2015, at 2:46 PM, Benoît Minisini <gam...@users.sourceforge.net> wrote: > Le 29/07/2015 21:38, Patrick Wright a écrit : >> Hello, >> >> I am working on a simple, custom control similar to the ListBox using a >> ListContainer and TextLabels. I am using these two items because the >> default ListBox control (and every other list) don't seem to support text >> wrapping or fonts. >> >> Everything seems to be going well, however I am unable to find a method to >> make the ListContainer scroll to a speici item in code. When i add a new >> item, I would like it to be scrolled to so it is visible. Normally, this >> would be accomplished with the .Index property in the ListBox, but this >> does not have the same affect in a ListContainer. >> >> Any ideas on how I could get this to work? >> >> Gambas Version: 3.5.4 >> >> Thanks, >> Patrick > > ListContainer has been deprecated since, mainly because of such limits. I > suggest that you remake your control based a GridView or a ScrollArea. > > Can't you use a more recent version of Gambas anyway? > > Regards, > > -- > Benoît Minisini > > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user