Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabs.UseExactRegion Property

Defines whether the control uses an exact window region.

Syntax

Get
VBBoolean = object.UseExactRegion As Boolean
Put
VBobject.UseExactRegion = Boolean As Boolean

object

A SftTabs object.

Boolean

Defines whether the control uses an exact window region.

BooleanDescription
TrueThe tab control will an exact Window region and will never paint outside of the tab control border.
FalseThe tab control will use the entire Window area (a rectangle) and paint inside and outside of the tab control border.

Comments

The UseExactRegion property defines whether the control uses an exact window region.

Because a tab control outline is generally not rectangular, using UseExactRegion (True), allows the background around the tabs to show through. The parent window can paint the entire background area and the tab control will only paint its exact shape, and not the entire rectangle that was assigned to the control at design time. Using UseExactRegion (True), the BackgroundOutside property has no effect as the control will not paint the area outside its exact shape.

See Also SftTabs Object | Object Hierarchy


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