Le 23/02/2016 12:49, Rolf-Werner Eilert a écrit : >> GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the >> job. It returns the top cell relative to the GridView top. >> > > Wow, that's tricky :) But it runs, so thank you very much! > > Regards > Rolf >
It's not tricky, it's based on the logic of the ScrollArea the GridView is now based on: - Logical coordinates for the cell. - The amount of scrolling. - The client area that takes the border into account. If your GridView has a top header, you have to take its size into account too, by using GridView.Columns.Height. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user