File:PageControlsComparison2.png
Original file (843 × 402 pixels, file size: 16 KB, MIME type: image/png)
Summary
Comparison of paging controls in Lazarus 3.6. On the left: TPageControl, combining a tab header and subpages (TTabSheet). Clicking on a different tab button would activate the subpage automatically. On the right: Separate TTabControl, providing the tab header and a client area, in which a TNotebook is docked (aligned alClient) and provides the subpages (TPage) independently of the tabs on the tab control header.
The TMemo controls (both set to have no visible border) on both side were added for demonstration purposes. Their size was shrinked to further show the rendering differences. Background on TTabSheet was changed to clForm by adding a borderless TPanel with alClient (default background is white).
Also TPageControl is able to show icons in the tab button, while the TTabControl does not fully support them (a TImageList can be specified, but there are no properties for an imageindex).
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 07:22, 24 October 2024 | 843 × 402 (16 KB) | Antares (talk | contribs) | Included Glyph differences | |
07:17, 24 October 2024 | 843 × 402 (14 KB) | Antares (talk | contribs) | Comparison of paging controls in Lazarus 3.6. On the left: TPageControl, combining a tab header and subpages (TTabSheet). Clicking on a different tab button would activate the subpage automatically. On the right: Separate TTabControl, providing the tab header and a client area, in which a TNotebook is docked (aligned alClient) and provides the subpages (TPage) independently of the tabs on the tab control header. The TMemo controls (both set to have no visible border) on both side were added... |
You cannot overwrite this file.
File usage
The following 2 pages use this file: