[Gambas-user] Gridview cell coordinates

Tobias Boege taboege at ...626...
Fri Jan 2 22:55:14 CET 2015


On Fri, 02 Jan 2015, bill-lancaster wrote:
> I want to position a balloon by the gridview cell that was right clicked.
> It is necessary to scroll down to the lower rows.
> I'm struggling with this so any suggestion as to the best way to do this
> would be welcome.
> 

I think you can use GridView[Row, Column].EnsureVisible() to have the
GridView scroll down to your row. Then it's a matter of placing the Balloon
correctly:

  Balloon("Text", GridView, Gridview[Row, Column].X, GridView[Row, Column].Y)

should do it.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list