[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements a grid with metadata where rows and columns are stored as Pointer arrays.
Source position: grids.pas line 406
type TVirtualGrid = class |
||
protected |
||
procedure doDestroyItem(); |
|
Destroys an Item at the given Row and Column location. |
procedure doNewItem(); |
|
Creates a new item at the location specified by Col and Row. |
procedure DeleteColRow(); |
|
Removes a column or a row in the grid. |
procedure MoveColRow(); |
|
Moves a column or a row using the specified index positions. |
procedure ExchangeColRow(); |
|
Exchanges values for the current column or row with those at the specified position. |
procedure InsertColRow(); |
|
Inserts either a column or a row at the specified index position. |
procedure DisposeCell(); virtual; |
|
Disposes of the resources and the pointer for the given cell. |
procedure DisposeColRow(); virtual; |
|
Disposes of the specified row or column, and frees its pointer. |
function IsColumnIndexValid(); |
|
Indicates if the specified ordinal column number is valid for the grid. |
function IsRowIndexValid(); |
|
Indicates if the specified ordinal row number is valid for the grid. |
public |
||
constructor Create; |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
procedure Clear; |
|
Clears the content in the virtual grid. |
function GetDefaultCell; |
|
Gets the default values for a new cell added to the grid. |
function GetDefaultColRow; |
|
Gets a pointer to the default values used in the column and row properties when added to the instance. |
|
Number of columns defined for the grid. |
|
|
Number of rows defined for the grid. |
|
property Celda []: PCellProps; [rw] |
|
Provides indexed access to cell properties by their column and row numbers. |
property Cols []: PColRowProps; [rw] |
|
Provides indexed access to column properties by their ordinal column number. |
property Rows []: PColRowProps; [rw] |
|
Provides indexed access to row properties by their ordinal row number. |
end; |
|
Implements a grid with metadata where rows and columns are stored as Pointer arrays. |
|
| | ||
TObject |
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.
|
The base class for a custom-drawn grid control. |
Version 3.2 | Generated 2024-02-25 | Home |