I think you need to use the _Draw Event of the grid view.
http://gambaswiki.org/wiki/comp/gb.qt4/gridview/.draw
Event Draw ( X As Integer, Y As Integer, Width As Integer, Height As
Integer, Row As Integer, Column As Integer )
the rect X,Y,Width,Height is the area where drawing. It is in fact
dependent of the Scroll translation so use these value to place
objects.
To drawing a circle + a text in the _Draw event of the gridview:
Paint.Ellipse(X,Y,Height, Height)
Paint.Stroke
Paint.DrawText("MyText",Width,Y,Width-Height,Height)
--
Fabien Bodard
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user