2

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?

RRUZ
  • 134,889
  • 20
  • 356
  • 483
  • 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. – Mike Sutton Mar 21 '13 at 20:12
  • Thanks, this did it. For now I only copied the TTabItem style, assigned a different icon to the style copies and assigned the new styles to the tab items. Please post your comment again as an answer and I will accept it. – Eileen Bennett Mar 22 '13 at 02:29

1 Answers1

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.

Mike Sutton
  • 4,191
  • 4
  • 29
  • 42