Home > comp > gb.form > gridview 
 en fr de es it nl pl pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
GridView (gb.qt4)

Implements a control that displays data in a grid.

You can fill the grid explicitely, or implement the Data event to display the grid contents on demand.

You should use the last method if you have a lot of rows to display. The control can handle millions of lines gracefully.

Symbols
This class inherits UserControl.
Properties  Methods  Events 
Action  Children  Cursor  Design  Drop  Enabled  Expand  Foreground  H  Handle  HasFocus  Height  Hovered  Id  Ignore  Left  Mouse  Name  Next  NoTabFocus  Parent  PopupMenu  Previous  Proxy  ScreenX  ScreenY  Tag  ToolTip  Top  Tracking  Visible  W  Width  Window  X  Y    Delete  Drag  FindChild  Grab  Hide  Lower  Move  MoveScaled  Raise  Refresh  Reparent  Resize  ResizeScaled  SetFocus  Show    Arrange  BeforeArrange  DblClick  Drag  DragLeave  DragMove  Drop  Enter  GotFocus  KeyPress  KeyRelease  Leave  LostFocus  Menu  MouseDown  MouseDrag  MouseMove  MouseUp  MouseWheel  NewChild   

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

Constants 
Both  Horizontal  None  Vertical   
Properties  Methods  Events 
AutoResize  Background  Border  ClientH  ClientHeight  ClientW  ClientWidth  ClientX  ClientY  Column  Columns  Current  Data  Font  Grid  Header  Mode  Resizable  Row  Rows  ScrollBar  ScrollH  ScrollHeight  ScrollW  ScrollWidth  ScrollX  ScrollY  ShowCursor  Sorted    Clear  ColumnAt  MoveTo  RowAt  Scroll  Select  SelectAll  UnSelectAll    Activate  Change  Click  ColumnClick  ColumnResize  ColumnSize  Data  Draw  RowClick  RowResize  RowSize  Scroll  Select  Sort   

Example

'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 = Align.Right
GridView1[1,1].Text = "1,1"
GridView1[0,1].Text = "0,1"
GridView1[1,0].Picture = Picture["image.png"]