TPagedPanel

Panel that contains several Pages of which only one can be visible at the same time.

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TBaseObjectA base class for objects that can be used instead of TObject.
3TControlVisual user interface element that can react to user input.
4TPanelBase class for a TControl that contains other controls.
5TOpaquePanelTPanel that fills its background with Style.PanelBackground
6TPagedPanel

Source

UserInterface.Control.Panel.Paged.pas (69)

Description

The currently visible page is ActivePage. By itself a TPagedPanel does not provide the user with a means to change the active page. Embellish creates a TTabControl by default which allows the user to switch to another page by selecting the corresponding tab.

Fields

ScopeVisibilityTypeNameDescription
InstanceprivateTControlFActivePage
InstanceprivateTInteger32FInsertPoint
InstanceprivateTBooleanFDraggedActivePage
InstanceprotectedTList<TPageInformation>PageInformations
InstancepublicTBooleanIsExplorerTarget

Methods

ScopeVisibilityResultNameDescription
InstanceprivateSetActivePage(Value: TControl)
InstanceprivateTInteger32GetActivePageIndex()
InstanceprivateSetActivePageIndex(Value: TInteger32)
InstanceprivateTControlGetPages(Index: TInteger32)
InstanceprivateSetInsertPoint(Value: TInteger32)
InstanceprivateTBooleanPageHasFocus(Page: TControl)
InstanceprotectedBoundsChanged(OldBounds: TInteger32Rectangle; NewBounds: TInteger32Rectangle)
InstanceprotectedResizeActivePage()
InstanceprotectedFireActivePageChanged()
InstanceprotectedChildControlAdded(Control: TControl)
InstanceprotectedChildControlRemoved(Control: TControl)
InstancepublicCreate()
InstancepublicDestroy()
InstancepublicPaint(Canvas: TCanvas)
InstancepublicGainedFocus()
InstancepublicTControlEmbellish()
InstancepublicTInteger32SizeGetPreferredSize(AvailableSize: TInteger32Size)
InstancepublicAddPage(Page: TControl; Activate: TBoolean)
InstancepublicInsertPage(Index: TInteger32; Page: TControl; Activate: TBoolean)
InstancepublicRemovePage(Page: TControl)
InstancepublicTInteger32IndexOfPage(Page: TControl)
InstancepublicClosePage(Index: TInteger32)
InstancepublicTInteger32PageCount()
InstancepublicTTextGetPageCaption(Index: TInteger32)
InstancepublicCloseControl(Control: TControl)
InstancepublicMakeRectangleVisibleForControl(Control: TControl; Rectangle: TInteger32Rectangle)
InstancepublicTBooleanIsChildVisible(Control: TControl)
InstancepublicTDragSiteCreateDragSource(Control: TControl)
InstancepublicTDragSiteCreateDragTarget(Source: TDragSite; Position: TInteger32Point)
InstancepublicTBooleanIsDynamicContainer()
InstancepublicTControlFindFirstDescendant(Condition: TCondition<TControl>)
InstancepublicTIterator<TControl>CreateChildIterator()