[Gambas-user] How to scroll tableview from app

Benoit Minisini gambas at ...1...
Wed Apr 26 10:36:21 CEST 2006


On Wednesday 26 April 2006 05:00, ron wrote:
> On Wednesday 26 April 2006 04:42, rudy wrote:
> >  I multiply the number of row by ten.
>
> if all rows have the same height then use
>
> hi = tableview1.rows[0].height * tableview1.rows.count
> if tableview1.header then hi = hi + tableview1.columns.height
>
>
> Ron
>

Cells have an X and Y property you can use from scrolling I think:

TableView1.ScrollY = TableView1[0, n].Y

Regards,

-- 
Benoit Minisini





More information about the User mailing list