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

Rolf-Werner Eilert rwe-sse at osnanet.de
Fri Apr 20 14:06:33 CEST 2018


Am 20.04.2018 um 13:40 schrieb Benoît Minisini:
> 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,
> 

Thank you! Now it works as expected.

Regards
Rolf



More information about the User mailing list