JVCL Help:TJvStringGrid.GetCellAlignment

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Returns the alignment of a cell in the grid.


Pascal

 functionGetCellAlignment(AColumn: Longint; ARow: Longint; State: TGridDrawState): TAlignment; virtual;


Parameters

Parameters Description
AColumn: Longint The column index of the cell.
ARow: Longint The row index of the cell that should be drawn.
State: TGridDrawState Indicates whether the cell has input focus, whether the cell is selected, and whether the cell is a fixed (nonscrolling) cell.


Description

Use GetCellAlignment to get the alignment of a cell in the grid. If the OnGetCellAlignment event handler is assigned, GetCellAlignment fires the OnGetCellAlignment event to get the alignment for the cell. Otherwise it returns the value of the Alignment property.


See Also

TJvStringGrid.OnGetCellAlignment


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page