Vcl.DBCGrids.TDBCtrlGrid.PanelIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PanelIndex: Integer read FPanelIndex write SetPanelIndex;

C++

__property int PanelIndex = {read=FPanelIndex, write=SetPanelIndex, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.DbCGrids.pas
Vcl.DBCGrids.hpp
Vcl.DBCGrids TDBCtrlGrid

Description

Specifies the index of the panel in the grid that represents the current record.

Read PanelIndex to determine which panel represents the current record in the dataset. Set PanelIndex to move in the dataset to the record corresponding to a panel in the grid.

PanelIndex is a number in the range 0 to PanelCount - 1, where 0 is the first panel, 1 is the second panel, and so on. The location of the panel with the index PanelIndex depends on the value of the Orientation property. When Orientation is goVertical, the panels are counted by rows. When Orientation is goHorizontal, the panels are counted by columns.

See Also