ComponentOne Sizer 8.0
TabPicture Property

Returns or sets the picture to be shown on a given tab.

Syntax

[form!]C1Tab.TabPicture(Index As Integer)[ = Picture ]

Remarks

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.

Data Type

Picture

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback