C1Tab Reference > C1Tab Properties > TabPicture Property |
Returns or sets the picture to be shown on a given tab.
[form!]C1Tab.TabPicture(Index As Integer)[ = Picture ]
You can assign bitmaps, icons or metafiles to tabs. After each picture is assigned to a tab, the control automatically resizes to fit the largest picture.
You can change the caption, color, visibility, and enabled state of a tab using the TabCaption, TabColor, TabVisible, and TabEnabled properties.
To set tab pictures at design time, use the Tabs property page.
Tabs are numbered from zero to NumTabs - 1. Trying to get or set a TabCaption outside this range will trigger an invalid index error.
Picture