[Gambas-user] Drop into a GridView - how to hit a cell

Benoît Minisini g4mba5 at gmail.com
Fri Apr 20 13:40:06 CEST 2018


Le 20/04/2018 à 13:22, Rolf-Werner Eilert a écrit :
> When I drag and drop data into a GridView, I want to hit a certain cell.
> 
> Within the GridView_Drop event, however, .Column and .Row aren't set 
> automagically to the aimed cell where the mouse button was released.
> 
> So I have to hit the cell myself. First idea: using Drag.X and Drag.Y, 
> and then...?
> 
> Any more comfortable idea is appreciated :)
> 
> Regards
> Rolf
> 

Use RowAt() and ColumnAt() methods.

Regards,

-- 
Benoît Minisini


More information about the User mailing list