Am 23.02.2016 12:56, schrieb Benoît Minisini:
> 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,
>

Oh yes, I knew that, as you had told me about GridView.Rows.Width the 
other day.

Ok, not tricky, more versatile - but still one has to know that :) I 
will now try to adapt the other elements, let's hope I can solve that on 
my own...

Regards
Rolf


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to