EhLib
ContentsIndexHome
PreviousUpNext
Panel of detail information for record - RowDetailPanel

Sub-properties of RowDetailPanel property allow you to create and customize the panel of detailed information for grid rows. Panel if detailed information is a special area inside grid where you can put any control from Component Palette on it. At design-time a panel is always opened under the current record. At run-time panel is hidden, and there is a ‘+’ sign at the beginning part of every row. You can click ‘+’ sign to open panel. At once time panel can be opened only for one row. You can also open panel using key combination Ctrl-Down or key ‘+’. Use Ctrl-Up to return from panel to grid row. Use ‘*’ key to show or hide panel depending on current state. 

Sub-properties of RowDetailPanel property:

Property name 
Property type 
Description 
Active 
Boolean 
this property allows to activate panel of detailed information. 
Width 
Integer 
use this property to control width of panel. 
Height 
Integer 
use this property to control height of panel. 
ActiveControl 
TWinControl 
use this property to define control which will be focused when panel is opening. 
BevelEdges 
TBevelEdges 
use this property to control border style of panel. 
BevelInner 
TBevelCut 
use this property to control border style of panel. 
BevelOuter 
TBevelCut 
use this property to control border style of panel. 
BevelKind 
TBevelKind 
use this property to control border style of panel. 
BevelWidth 
TBevelWidth 
use this property to control border style of panel. 
BorderStyle 
TBorderStyle 
use this property to control border style of panel. 
Color 
TColor 
use this property to control color of panel. 
ParentColor 
Boolean 
property defines if it is need to use color of grid as a color of panel. 

Public

Visible 
Boolean 
this property defines if panel is visible. You can set this property at run-time for reading and writing. 

Use event OnCheckRowHaveDetailPanel to control of panel showing in grid. You can set parameter RowHaveDetailPanel to allow or forbid panel for required record. 

Use events OnRowDetailPanelHide and OnRowDetailPanelShow to execute special action after panel is hidden or before panel is opened.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!