Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabs.BackgroundInside Property

Defines the background image inside the tab control.

Syntax

Get
VBSet refPictureObj = object.BackgroundInside As IPictureDisp
Put
VBobject.BackgroundInside = refPictureObj As IPictureDisp
PutRef
VBSet object.BackgroundInside = refPictureObj As IPictureDisp

object

A SftTabs object.

refPictureObj

A reference to a Picture object. Only bitmaps are supported.

Comments

The BackgroundInside property defines the background image inside the tab control.

If the BackgroundInside property defines a valid bitmap, this bitmap is displayed as the tab control's background inside the border of the tab control (including the tabs and client area).

If the tab control uses Windows themes, the BackgroundInside property has no effect.

If the background bitmap is too small to fill the entire area, it is tiled. The method SetInsideOffset can be used to define an offset with which the bitmap should be aligned. The background bitmap is aligned with the top, left edge of the tab control window (not the client area) if 0, 0 is specified.

If the Tab.BackColor and BackColorActive properties define a tab background color (other than the default background color BackColor), they override the background bitmap and the tab uses the specified background color instead.

If the Tab.ClientAreaColor property defines a client area color (other than the default background color BackColor), it overrides the background bitmap and the client area uses the specified background color instead.

If Windows themes are used, this property has no effect.

The Picture object must represent a bitmap. Icons and metafiles are not supported.

There is no default background bitmap. Bitmap transparency is not used for the background bitmap.

Example

Set SftTabs1.BackgroundInside = Picture1.Picture

See Also SftTabs Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.