/ comp / gb.gtk / gridview
GridView (gb.gtk)

Implements a control that displays data in a grid.

You can fill the grid explicitely, or implement the /comp/gb.gtk/gridview/.data event to display the grid contents on demand.

| You should use the last method if you have thousands of rows to display.

Symbols
This class inherits Control.

This class is creatable.
This class acts like a read-only array.

Constants |
/comp/gb.gtk/gridview/both /comp/gb.gtk/gridview/horizontal /comp/gb.gtk/gridview/none /comp/gb.gtk/gridview/vertical |

Properties |  | Methods |  | Events |
/comp/gb.gtk/control/action BackColor Background /comp/gb.gtk/gridview/border /comp/gb.gtk/gridview/clienth /comp/gb.gtk/gridview/clientheight /comp/gb.gtk/gridview/clientw /comp/gb.gtk/gridview/clientwidth /comp/gb.gtk/gridview/clientx /comp/gb.gtk/gridview/clienty /comp/gb.gtk/gridview/column /comp/gb.gtk/gridview/columns /comp/gb.gtk/gridview/current Cursor /comp/gb.gtk/gridview/data Design Drop Enabled Expand Font ForeColor Foreground /comp/gb.gtk/gridview/grid /comp/gb.gtk/control/h /comp/gb.gtk/control/handle /comp/gb.gtk/gridview/header /comp/gb.gtk/control/height /comp/gb.gtk/control/id /comp/gb.gtk/control/ignore /comp/gb.gtk/control/left /comp/gb.gtk/gridview/mode Mouse /comp/gb.gtk/control/name /comp/gb.gtk/control/next /comp/gb.gtk/control/parent /comp/gb.gtk/control/previous /comp/gb.gtk/gridview/resizable /comp/gb.gtk/gridview/row /comp/gb.gtk/gridview/rows /comp/gb.gtk/control/screenx /comp/gb.gtk/control/screeny /comp/gb.gtk/gridview/scrollbar /comp/gb.gtk/gridview/scrollx /comp/gb.gtk/gridview/scrolly /comp/gb.gtk/control/tag /comp/gb.gtk/control/tooltip /comp/gb.gtk/control/top /comp/gb.gtk/control/visible /comp/gb.gtk/control/w /comp/gb.gtk/control/width /comp/gb.gtk/control/window /comp/gb.gtk/control/x /comp/gb.gtk/control/y |  | /comp/gb.gtk/gridview/clear /comp/gb.gtk/gridview/columnat /comp/gb.gtk/control/delete /comp/gb.gtk/control/drag /comp/gb.gtk/gridview/find /comp/gb.gtk/control/grab /comp/gb.gtk/control/hide /comp/gb.gtk/control/lower /comp/gb.gtk/control/move /comp/gb.gtk/control/movescaled /comp/gb.gtk/gridview/moveto /comp/gb.gtk/control/raise /comp/gb.gtk/control/refresh /comp/gb.gtk/control/reparent /comp/gb.gtk/control/resize /comp/gb.gtk/control/resizescaled /comp/gb.gtk/gridview/rowat /comp/gb.gtk/control/setfocus /comp/gb.gtk/control/show |  | /comp/gb.gtk/gridview/.activate /comp/gb.gtk/gridview/.change /comp/gb.gtk/gridview/.click /comp/gb.gtk/gridview/.columnclick /comp/gb.gtk/gridview/.columnresize /comp/gb.gtk/gridview/.data /comp/gb.gtk/control/.dblclick /comp/gb.gtk/control/.drag /comp/gb.gtk/control/.dragmove /comp/gb.gtk/control/.drop /comp/gb.gtk/control/.enter /comp/gb.gtk/control/.gotfocus /comp/gb.gtk/control/.keypress /comp/gb.gtk/control/.keyrelease /comp/gb.gtk/control/.leave /comp/gb.gtk/control/.lostfocus /comp/gb.gtk/control/.menu /comp/gb.gtk/control/.mousedown /comp/gb.gtk/control/.mousedrag /comp/gb.gtk/control/.mousemove /comp/gb.gtk/control/.mouseup /comp/gb.gtk/control/.mousewheel /comp/gb.gtk/gridview/.rowclick /comp/gb.gtk/gridview/.rowresize /comp/gb.gtk/gridview/.scroll /comp/gb.gtk/gridview/.select |

### Examples

    'Fill grid explicitely
    GridView1.Columns.Count = 4
    GridView1.Rows.Count = 3
    GridView1.Columns.Width = 52
    GridView1.Rows[1].Height = 52
    GridView1[0,0].Text = "0,0"
    GridView1[0,0].Alignment = 4
    GridView1[1,1].Text = "1,1"
    GridView1[0,1].Text = "0,1"
    GridView1[1,0].Picture = Picture["image.png"]