[Gambas-user] Request GridView

Benoit Minisini gambas at ...1...
Thu May 11 18:48:15 CEST 2006


On Thursday 11 May 2006 09:08, ron wrote:
> Do you have time to add GridView.Find(x as integer, y as Integer) ?
> This is a nice function on ListView, TreeView and ColumnView.
>
> I like to have GridView.Find(Drag.X, Drag.Y) too.
>
> Groeten uit zonnig Holland
>
> Ron
>

Please try this patch, and tell me the result.

GridView.Find(X, Y) will return FALSE if a cell is found, and then 
GridView.Item will return the cell at the (X, Y) coordinates.

Regards,

-- 
Benoit Minisini
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CGridView.cpp
Type: text/x-c++src
Size: 17079 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060511/f7e75442/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CGridView.h
Type: text/x-c++hdr
Size: 2850 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060511/f7e75442/attachment.h>


More information about the User mailing list