HeaderPane
Main
Hide
Share Link
Print

BulkUpdate Property, SftTabs Object

Defines bulk update mode.

Syntax

Get

VBBoolean = object.BulkUpdate As Boolean

Put

VBobject.BulkUpdate = Boolean As Boolean

object

A SftTabs object.

Boolean

Defines bulk update mode.

BooleanDescription
TrueA mass-update is beginning.
FalseA mass-update has ended.

Comments

The BulkUpdate property defines bulk update mode.

The BulkUpdate property should be used when many tabs are added to a control or other lengthy operations are performed. By setting the property to True, the control can skip certain internal processing. Once updates are completed, the property has to be set to False. When adding, inserting or deleting tabs, the control may have to recalculate tab locations. This processing can be skipped when the BulkUpdate property is set to True, considerably speeding up the process.

After updating the control, the BulkUpdate property must be set to False. If the property remains set to True, the control will no longer redraw itself properly. The property should be set to True once, before adding many tabs and later set to False once, after all tabs have been added. Repeatedly setting the property to True and False while adding tabs significantly decreases the control's performance.

This property is not available at design-time.

Example

Private Sub Form_Load()
    Dim I As Integer
    With SftTabs1.Direct
        .BulkUpdate = True
        .Scrolling.Style = scrollSftTabsAlwaysRight
        With .Tabs
            For I = 0 To 20
                .Add "Tab " & I
            Next
        End With
    .BulkUpdate = False
    End With
End Sub

Examples

VB6 View entire sample code

End Sub

Private Sub CheckboxButton_Click()
    ' define a checkbox image
    Dim tb As SftTabsTab
    Dim img As SftPictureObject
    Set tb = SftTabs1.Tab(SftTabs1.Tabs.Current)
    Set img = tb.Image
    SftTabs1.BulkUpdate = True
    img.Clear
    img.Appearance = sftImageCheckboxYes
    tb.Align = alignSftTabsLeft
    SftTabs1.BulkUpdate = False
End Sub

Private Sub SftTabs1_TabClicked(ByVal DblClick As Boolean, ByVal TabClicked As Integer, ByVal TabArea As SftTabsLib70.SftTabsTabAreaConstants)

See Also SftTabs Object | Object Hierarchy


Last Updated 11/19/2026 - (email)
© 2026 Softel vdm, Inc.