代码说明:
增加5个属性的TStringGrid.
Derived from TStringGrid. Added features: Published properties:
ColTitles : set text for each cell of the first row (column titles)
RowTitles : set text for each cell of the first column (row titles)
DefaultCellsAlignment : defines the default text alignment for all cells of the grid at design-time
DefaultMultiLineCells : defines the default text multi-line capability at design-time
Events: OnGetCellColor : allows Brush, Font, alignment and multi-line capability to be set at run-time for each cell of the grid.
【立即下载】
|