HeaderPane
Main
Hide
Share Link
Print

TabAdvanceLast Property, SftMask Object

Defines whether the Tab key advances to the last position in the control or to the next control instead.

Syntax

Get

C#bool Boolean = object.TabAdvanceLast;
VB.NETBoolean = object.TabAdvanceLast As Boolean
C++VARIANT_BOOL Boolean = object->TabAdvanceLast;
VARIANT_BOOL Boolean = object->GetTabAdvanceLast();
CHRESULT object->get_TabAdvanceLast(VARIANT_BOOL* Boolean);
VBBoolean = object.TabAdvanceLast As Boolean

Put

C#bool object.TabAdvanceLast = Boolean;
VB.NETobject.TabAdvanceLast = Boolean As Boolean
C++VARIANT_BOOL object->TabAdvanceLast = Boolean;
void object->PutTabAdvanceLast(VARIANT_BOOL Boolean);
CHRESULT object->put_TabAdvanceLast(VARIANT_BOOL Boolean);
VBobject.TabAdvanceLast = Boolean As Boolean

object

A SftMask object.

Boolean

Defines whether the Tab key advances to the last position in the control or to the next control instead.

BooleanDescription
TrueThe last position in the control can be reached using the Tab key.
FalseThe last position in the control cannot be reached using the Tab key and the input focus advances to the next control instead.

Comments

The TabAdvanceLast property defines whether the Tab key advances to the last position in the control or to the next control instead.

This is typically used if trailing literal characters are present, so it is undesirable to tab to the end of the control.

The TabAdvanceLast property has no effect if the TabAdvance property is set to False.

Examples

VB.NET View entire sample code

    AxSftMask1.Caption.SizePercent = 33
    AxSftMask1.Caption.Text = "&IP:"
    AxSftMask1.Mask = "$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)"
    AxSftMask1.Text = "127.0.0.1"
    AxSftMask1.EditStyle = SftMaskEditStyleConstants.editSftMaskUpDown
    AxSftMask1.AutoAdvance = True
    AxSftMask1.AutoSize = True
    AxSftMask1.TabAdvance = True
    AxSftMask1.TabAdvanceLast = True
    AxSftMask1.EntrySelect = SftMaskEntrySelectConstants.entrySftMaskSelectHome
    AxSftMask1.EntrySelectMouse = True
End Sub

VB6 View entire sample code

    SftMask1.Caption.SizePercent = 33
    SftMask1.Caption.Text = "&IP:"
    SftMask1.Mask = "$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)"
    SftMask1.Text = "127.0.0.1"
    SftMask1.EditStyle = editSftMaskUpDown
    SftMask1.AutoAdvance = True
    SftMask1.AutoSize = True
    SftMask1.TabAdvance = True
    SftMask1.TabAdvanceLast = True
    SftMask1.EntrySelect = entrySftMaskSelectHome
    SftMask1.EntrySelectMouse = True
End Sub

C# View entire sample code

    axSftMask1.Caption.SizePercent = 33;
    axSftMask1.Caption.Text = "&IP:";
    axSftMask1.Mask = @"$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)";
    axSftMask1.Text = "127.0.0.1";
    axSftMask1.EditStyle = SftMaskEditStyleConstants.editSftMaskUpDown;
    axSftMask1.AutoAdvance = true;
    axSftMask1.AutoSize = true;
    axSftMask1.TabAdvance = true;
    axSftMask1.TabAdvanceLast = true;
    axSftMask1.EntrySelect = SftMaskEntrySelectConstants.entrySftMaskSelectHome;
    axSftMask1.EntrySelectMouse = true;
}

C++ View entire sample code

    m_pMask1->Caption->SizePercent = 33;
    m_pMask1->Caption->Text = _T("&IP:");
    m_pMask1->Mask = _T("$I^03(0,255)\\.$I^03(0,255)\\.$I^03(0,255)\\.$I^03(0,255)");
    m_pMask1->Text = _T("127.0.0.1");
    m_pMask1->EditStyle = editSftMaskUpDown;
    m_pMask1->AutoAdvance = VARIANT_TRUE;
    m_pMask1->AutoSize = VARIANT_TRUE;
    m_pMask1->TabAdvance = VARIANT_TRUE;
    m_pMask1->TabAdvanceLast = VARIANT_TRUE;
    m_pMask1->EntrySelect = entrySftMaskSelectHome;
    m_pMask1->EntrySelectMouse = VARIANT_TRUE;

    return TRUE;
}

See Also SftMask Object | Object Hierarchy


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