TTMSFNCDataGridFooterPaging Class
Paging controls embedded in the grid footer: a page selector, first/previous/next/last navigation buttons and a page-info label.
API unit family: TMSFNCDataGrid
Inherits from: TPersistent
Syntax
TTMSFNCDataGridFooterPaging = class(TPersistent)
class PASCALIMPLEMENTATION TTMSFNCDataGridFooterPaging : public System::Classes::TPersistent
Remarks
Obtained through Footer.Paging. The controls are only shown when Footer.Visible, Visible and the grid's TTMSFNCCustomDataGrid.Paging are all True. When there is only one page the controls stay visible but are disabled.
Properties
| Name | Description |
|---|---|
| NavigationButtonWidth | Width in logical pixels of each navigation button (first, previous, next, last). Default is 25. |
| PageInfoFormat | Format string for the page-info label. Default is 'Page %d of %d'. |
| PageInfoWidth | Width in logical pixels of the page-info label area. Default is 150. |
| PageSelectorFormat | Format string for each entry in the page selector. Default is 'Page %d'. |
| PageSelectorWidth | Width in logical pixels of the page selector combo box. Default is 100. |
| ShowNavigationButtons | When True (default), the first/previous/next/last page navigation buttons are rendered. |
| ShowPageInfo | When True (default), a label showing the current page and total page count is rendered. The text is built from PageInfoFormat. |
| ShowPageSelector | When True (default), a combo box is rendered that lets the user jump directly to a specific page. |
| Size | Height in logical pixels of the paging control strip. Default is 30. |
| Visible | When True, paging controls are rendered inside the footer area. Default is False. |