TVirtualGrid class
Implements a grid with metadata where rows and columns are stored as Pointer arrays.
Declaration
TVirtualGrid = classDescription
TVirtualGrid is a class used to represent a grid where the rows
and columns containing grid metadata are stored as arrays of Pointers. Data
stored in the grid includes the Size for data in a cell, and pointers to
attributes for fixed and normal cell display.
TVirtualGrid is the type used for an internal member in TCustomDrawGrid.
See also
Properties
ColCount | public | Number of columns defined for the grid. |
RowCount | public | Number of rows defined for the grid. |
Celda | public | Provides indexed access to cell properties by their column and row numbers. |
Cols | public | Provides indexed access to column properties by their ordinal column number. |
Rows | public | Provides indexed access to row properties by their ordinal row number. |
Methods
doDestroyItem | protected | Destroys an Item at the given Row and Column location. |
doNewItem | protected | Creates a new item at the location specified by Col and Row. |
DeleteColRow | protected | Removes a column or a row in the grid. |
MoveColRow | protected | Moves a column or a row using the specified index positions. |
ExchangeColRow | protected | Exchanges values for the current column or row with those at the specified position. |
InsertColRow | protected | Inserts either a column or a row at the specified index position. |
DisposeCell | protected | Disposes of the resources and the pointer for the given cell. |
DisposeColRow | protected | Disposes of the specified row or column, and frees its pointer. |
IsColumnIndexValid | protected | Indicates if the specified ordinal column number is valid for the grid. |
IsRowIndexValid | protected | Indicates if the specified ordinal row number is valid for the grid. |
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
Clear | public | Clears the content in the virtual grid. |
GetDefaultCell | public | Gets the default values for a new cell added to the grid. |
GetDefaultColRow | public | Gets a pointer to the default values used in the column and row properties when added to the instance. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
