Contents
- Index
- Previous
- Next
TProfGrid component
Properties Methods Events
Unit
ProfGrid
Description
The present help system refers to version 3.4.3 of the component.
Hierarchy
TProfGrid is derived from the VCL class TCustomGrid, i.e. the hierarchy is:
TObject
|
TPersistent
|
TComponent
|
TControl
|
TWinControl
|
TCustomControl
|
TCustomGrid
|
TProfGrid
Design-time editing of column, row, and cell properties
To setup any column, row, or cell attributes at design time (from Object Inspector), use the published properties UsedColumns, UsedRows, and UsedCells. Any changes in these properties are immediately reflected in the grid's image on the form, thus giving you an idea on how the grid would look like during run-time. The properties are persistent and are stored in the .DFM file of the form that contains the grid.
Return values of methods
Most of the TProfGrid methods return a Boolean value. If this is the case, the return value of True indicates "success", and the return value of False indicates either "failure" or "an invalid parameter has been passed to the method". It is recommended to check the return values of methods, thus catching possible problems in applications.