Back to Devexpress

TcxCustomGrid.OnActiveTabChanged Event

vcl-cxgrid-dot-tcxcustomgrid-9aea4ed2.md

latest1.2 KB
Original Source

TcxCustomGrid.OnActiveTabChanged Event

Occurs on switching between detail levels.

Declaration

delphi
property OnActiveTabChanged: TcxGridActiveTabChangedEvent read; write;

Remarks

The OnActiveTabChanged event occurs when a user switches to a detail level (defined by the ALevel parameter) by using tabs. The Sender parameter specifies the grid control.

To display tabs, set the detail level caption via the TcxGridLevel.Caption property and specify the tabs position via the TcxGridLevelOptions.DetailTabsPosition property of a corresponding parent level. To display the grid level tabs at the root level, specify the Grid.RootLevelOptions property’s value.

See Also

TcxCustomGrid.Levels

TcxGridLevel.Caption

TcxGridLevelOptions.DetailTabsPosition

TcxCustomGrid Class

TcxCustomGrid Members

cxGrid Unit