SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the SftMaskAutoComplete object.
Get
VB.NET | refAutoCompleteObj = object.AutoComplete As SftMaskAutoComplete |
VB | Set refAutoCompleteObj = object.AutoComplete As SftMaskAutoComplete |
C#.NET | SftMaskAutoComplete refAutoCompleteObj = object.AutoComplete; |
VC++ | ISftMaskAutoComplete* refAutoCompleteObj = object->AutoComplete; ISftMaskAutoComplete* refAutoCompleteObj = object->GetAutoComplete(); |
C | HRESULT object->get_AutoComplete(ISftMaskAutoComplete** refAutoCompleteObj); |
object
refAutoCompleteObj
Returns the SftMaskAutoComplete object.
The AutoComplete property returns the SftMaskAutoComplete object.
The SftMaskAutoComplete object describes the attributes of the control's autocomplete feature.
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
Private Sub Form_Load() Dim AutoCompleteObj As SftMaskLib70.SftMaskAutoComplete Dim CaptionObj As SftMaskLib70.SftMaskCaption Set CaptionObj = SftMask1.Caption Set AutoCompleteObj = SftMask1.AutoComplete CaptionObj.SizePercent = 33 CaptionObj.Text = "&ZIP Code:" SftMask1.Mask = "#####" SftMask1.EntrySelect = entrySftMaskSelectEndHome AutoCompleteObj.File = "-\Softelvdm\AutoComplete\SampleFile2.Suggest" AutoCompleteObj.Encrypt = False AutoCompleteObj.IgnoreCase = True
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;
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