Gambas Documentation - /comp/gb.qt4/gridview/.draw

# Event GridView.Draw (gb.qt4)

Event Draw ( X As Integer, Y As Integer, Width As Integer, Height As Integer, Row As Integer, Column As Integer )

Raised when a cell must be drawn.

- X, Y, Width, Height : the coordinates of the cell.

- Row, Column : the cell to draw.

This event allows you to draw what you want inside a cell.

It is called in the context of the internal GridView draw event handler, so you don't have to call Paint.Begin and Paint.End.