Board index » delphi » How to set TabControl's Tab ImageIndex?

How to set TabControl's Tab ImageIndex?

Tabcontrol use a TStrings to maintain it's tabs. How do you set each tab's
Imageindex?

Samson Fu

 

Re:How to set TabControl's Tab ImageIndex?


On Wed, 17 Feb 1999 16:55:53 +0800, "Samson Fu"

Quote
<samso...@hutchcity.com> wrote:
> Tabcontrol use a TStrings to maintain it's tabs. How do you set each tab's
> Imageindex?

From the TTabControl.Images property help:

"Use Images to specify the images that are drawn in the tabs.

The image index corresponds to the tab in which the image is
displayed.

To customize which image is displayed in which tab, override the
OnGetImageIndex event in a derived class."

--
Rick Rogers (TeamB) | Fenestra Technologies
http://www.fenestra.com/

Other Threads