Table of Contents

TTMSFNCPageSlider Class

Displays a collection of horizontally sliding pages with optional headers, footers, animation, and keyboard navigation.

API unit family: TMSFNCPageSlider Inherits from: TTMSFNCCustomPageSlider

Syntax

TTMSFNCPageSlider = class(TTMSFNCCustomPageSlider)

Properties

Name Description
ActivePageIndex Gets or sets the index of the active page. (inherited from TTMSFNCCustomPageSlider)
AnimateScroll Gets or sets whether page transitions are animated. (inherited from TTMSFNCCustomPageSlider)
AnimationFactor Gets or sets the speed factor used for animated page transitions. (inherited from TTMSFNCCustomPageSlider)
BitmapContainer Gets or sets the bitmap container used to resolve images in header and footer text. (inherited from TTMSFNCPageSliderContainer)
Footer Gets or sets the footer appearance and text for the page. (inherited from TTMSFNCPageSliderContainer)
Header Gets or sets the header appearance and text for the page. (inherited from TTMSFNCPageSliderContainer)
KeyboardInteraction Gets or sets whether keyboard navigation can change the active page. (inherited from TTMSFNCCustomPageSlider)
MinimumWidth Gets or sets the minimum width used for the page during layout and sliding. (inherited from TTMSFNCPageSliderContainer)
PageContainers Gets the page container at the specified index. (inherited from TTMSFNCCustomPageSlider)
PageCount Gets the number of pages in the slider. (inherited from TTMSFNCCustomPageSlider)
PageIndex Gets or sets the zero-based index of this page within the page slider. (inherited from TTMSFNCPageSliderContainer)
PageSlider Gets or sets the page slider that owns this page container. (inherited from TTMSFNCPageSliderContainer)
Pages Gets or sets the collection of pages managed by the slider. (inherited from TTMSFNCCustomPageSlider)

Methods

Name Description
AddPage Adds a page with the specified header caption. (inherited from TTMSFNCCustomPageSlider)
AddSimplePage Adds a page with default header and footer settings. (inherited from TTMSFNCCustomPageSlider)
EndUpdate Ends an update block and refreshes page layout. (inherited from TTMSFNCCustomPageSlider)
FindNextPage Finds the next page before or after the specified page. (inherited from TTMSFNCCustomPageSlider)
IndexOfPage Returns the index of the specified page container. (inherited from TTMSFNCCustomPageSlider)
InitSample Initializes the slider with sample pages for design-time preview or quick setup.
MovePage Moves a page from one index to another. (inherited from TTMSFNCCustomPageSlider)
NextPage Selects the next page. (inherited from TTMSFNCCustomPageSlider)
PreviousPage Selects the previous page. (inherited from TTMSFNCCustomPageSlider)
RemovePage Removes the page at the specified index. (inherited from TTMSFNCCustomPageSlider)

Events

Name Description
OnAfterDrawPageFooter Occurs after the page footer is drawn. (inherited from TTMSFNCPageSliderContainer)
OnAfterDrawPageHeader Occurs after the page header is drawn. (inherited from TTMSFNCPageSliderContainer)
OnBeforeDrawPageFooter Occurs before the page footer is drawn. (inherited from TTMSFNCPageSliderContainer)
OnBeforeDrawPageHeader Occurs before the page header is drawn. (inherited from TTMSFNCPageSliderContainer)
OnChange Occurs when the page container changes. (inherited from TTMSFNCPageSliderContainer)
OnFooterAnchorClick Occurs when an anchor in the page footer is clicked. (inherited from TTMSFNCPageSliderContainer)
OnHeaderAnchorClick Occurs when an anchor in the page header is clicked. (inherited from TTMSFNCPageSliderContainer)
OnPageChange Occurs after the active page changes. (inherited from TTMSFNCCustomPageSlider)
OnPageChanging Occurs before the active page changes. (inherited from TTMSFNCCustomPageSlider)
OnPageMoved Occurs after a page has moved from one position to another. (inherited from TTMSFNCCustomPageSlider)

Used by