HeaderPane
Main
Hide
Share Link
Print

AutoComplete Property, SftMask Object

Returns the SftMaskAutoComplete object.

Syntax

Get

C#SftMaskAutoComplete refAutoCompleteObj = object.AutoComplete;
VB.NETrefAutoCompleteObj = object.AutoComplete As SftMaskAutoComplete
C++ISftMaskAutoComplete* refAutoCompleteObj = object->AutoComplete;
ISftMaskAutoComplete* refAutoCompleteObj = object->GetAutoComplete();
CHRESULT object->get_AutoComplete(ISftMaskAutoComplete** refAutoCompleteObj);

object

A SftMask object.

refAutoCompleteObj

Returns the SftMaskAutoComplete object.

Comments

The AutoComplete property returns the SftMaskAutoComplete object.

The SftMaskAutoComplete object describes the attributes of the control's autocomplete feature.

Examples

C# View entire sample code

private void Form1_Load(object sender, System.EventArgs e)
{
    SftMaskAutoComplete AutoCompleteObj;
    SftMaskCaption CaptionObj;

    CaptionObj = axSftMask1.Caption;
    AutoCompleteObj = axSftMask1.AutoComplete;

    CaptionObj.SizePercent = 33;
    CaptionObj.Text = "&ZIP Code:";

    axSftMask1.Mask = "#####";
    axSftMask1.EntrySelect = SftMaskEntrySelectConstants.entrySftMaskSelectEndHome;

    AutoCompleteObj.File = @"-\Softelvdm\AutoComplete\SampleFile2.Suggest";
    AutoCompleteObj.Encrypt = false;

VB.NET View entire sample code

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim AutoCompleteObj As SftMaskAutoComplete
    Dim CaptionObj As SftMaskCaption

    CaptionObj = AxSftMask1.Caption
    AutoCompleteObj = AxSftMask1.AutoComplete

    CaptionObj.SizePercent = 33
    CaptionObj.Text = "&ZIP Code:"

    AxSftMask1.Mask = "#####"
    AxSftMask1.EntrySelect = SftMaskEntrySelectConstants.entrySftMaskSelectEndHome

    AutoCompleteObj.File = "-\Softelvdm\AutoComplete\SampleFile2.Suggest"
    AutoCompleteObj.Encrypt = False
    AutoCompleteObj.IgnoreCase = True

C++ View entire sample code

    CDialog::OnInitDialog();

    m_pMask1 = m_Mask1.GetControlUnknown();
    _ASSERT(m_pMask1 != NULL);

    ISftMaskAutoCompletePtr pAutoComplete;
    ISftMaskCaptionPtr pCaption;

    pAutoComplete = m_pMask1->AutoComplete;
    pCaption = m_pMask1->Caption;

    pCaption->SizePercent = 33;
    pCaption->Text = _T("&ZIP Code:");

    m_pMask1->Mask = _T("#####");
    m_pMask1->EntrySelect = entrySftMaskSelectEndHome;

See Also SftMask Object | Object Hierarchy


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