Add icons to the tabs of a Firemonkey TTabControl

2019-07-16 07:13发布

问题:

To add an icon to a TButton in Firemonkey one can add a TImage to the button. But how to add an icon to a tab of a TTabControl? Is this possible?

回答1:

At the very least you'll need to modify the style (to add the image) and probably create a custom control descended from TTabControl to set the image data.