GridControl::SetFixedColAlignment

 

Contents

Description

Sets the alignment for the fixed rows in one or all scrollable columns.

Syntax

bool SetFixedColAlignment( int nCol, int nAlignment, bool bExpand = false )

Parameters

nCol
[input] column index. First scrollable column's index is 0. If nCol is less than 0, it sets the alignment for the fixed rows of all the scrollable columns.
nAlignment
[input] AlignmentSettings
bExpand
[input] if true it will add columns when there's not enough column

Return

false if nCol is invalid or there's not enough column, otherwise true

Examples

See examples of GetColAlignment

Remark

See Also

GridControl::SetFixedAlignment

header to Included

GridControl.h