Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Control
Key
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Event _TreeView.Draw (gb.qt4)

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

Since 3.16

This event allows to customize the drawing of a specific item.

  • X, Y, Width and Height define the rectangle enclosing the item.

  • Key is the item key.

  • Column is the item column to draw in case of a ColumnView. For a TreeView or a ListView, it is always 0.

This event is called just before drawing the item, and if the event is stopped, the default item drawing routine is ignored.