ComponentOne True DBGrid Pro 8
GetBand Method

 

GetBand Method

The GetBand method returns the band number corresponding to a grid column.

Syntax

TDBGrid.GetBand (columnindex)

Arguments

columnindex is a zero-based integer that identifies a Column object.

Return Value

An integer corresponding to the index of the band of a particular grid column.

Remarks

The return value is used with the CollapseBand and ExpandBand methods when manipulating master-detail displays in code.

This method is only supported by the OLE DB version of True DBGrid Pro. It is used only in bound mode and has no effect in unbound or storage modes.

Note

This property is only supported by the OLE DB version of True DBGrid Pro.

See Also

TDBGrid Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback