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
Defines whether stored autocomplete entries are encrypted.
Get
VB.NET | Boolean = object.Encrypt As Boolean |
VB | Boolean = object.Encrypt As Boolean |
C#.NET | bool Boolean = object.Encrypt; |
VC++ | VARIANT_BOOL Boolean = object->Encrypt; VARIANT_BOOL Boolean = object->GetEncrypt(); |
C | HRESULT object->get_Encrypt(VARIANT_BOOL* Boolean); |
Put
VB.NET | object.Encrypt = Boolean As Boolean |
VB | object.Encrypt = Boolean As Boolean |
C#.NET | bool object.Encrypt = Boolean; |
VC++ | VARIANT_BOOL object->Encrypt = Boolean; void object->PutEncrypt(VARIANT_BOOL Boolean); |
C | HRESULT object->put_Encrypt(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether stored autocomplete entries are encrypted.
Boolean | Description |
---|---|
True | Entries are encrypted. |
False | Entries are not encrypted. |
The Encrypt property defines whether stored autocomplete entries are encrypted.
This property is only honored when the AutoComplete.Contents property is set to contentsSftMaskText.
The Encrypt property allows saved autocomplete entries in the defined file (see AutoComplete.File property) to be encrypted, to prevent the data to be viewed by inspecting the file. The encryption method will prevent a casual user from accessing the data, but is not intended as a security measure. The autocomplete feature should not be used for sensitive data.
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 AutoCompleteObj.MaxEntries = 50 AutoCompleteObj.Mode = SftMaskAutoCompleteModeConstants.autocompleteSftMaskSuggest End Sub Private Sub AxSftMask1_MatchAddCustomItems(ByVal sender As Object, ByVal e As AxSftMaskLib70._ISftMaskEvents_MatchAddCustomItemsEvent) Handles AxSftMask1.MatchAddCustomItems ' Ready to add custom items AxSftMask1.AutoComplete.AddTop("ZIP-Code Lookup ...", 1)
CaptionObj.SizePercent = 33 CaptionObj.Text = "&ZIP Code:" SftMask1.Mask = "#####" SftMask1.EntrySelect = entrySftMaskSelectEndHome AutoCompleteObj.File = "-\Softelvdm\AutoComplete\SampleFile2.Suggest" AutoCompleteObj.Encrypt = False AutoCompleteObj.IgnoreCase = True AutoCompleteObj.MaxEntries = 50 AutoCompleteObj.Mode = autocompleteSftMaskSuggest End Sub Private Sub SftMask1_MatchAddCustomItems(ByVal Count As Long) ' Ready to add custom items SftMask1.AutoComplete.AddTop "ZIP-Code Lookup ...", 1
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; AutoCompleteObj.MaxEntries = 50; AutoCompleteObj.Mode = SftMaskAutoCompleteModeConstants.autocompleteSftMaskSuggest; } private void axSftMask1_MatchAddCustomItems(object sender, AxSftMaskLib70._ISftMaskEvents_MatchAddCustomItemsEvent e) { // Ready to add custom items
pCaption->SizePercent = 33; pCaption->Text = _T("&ZIP Code:"); m_pMask1->Mask = _T("#####"); m_pMask1->EntrySelect = entrySftMaskSelectEndHome; pAutoComplete->File = _T("-\\Softelvdm\\AutoComplete\\SampleFile2.Suggest"); pAutoComplete->Encrypt = VARIANT_FALSE; pAutoComplete->IgnoreCase = VARIANT_TRUE; pAutoComplete->MaxEntries = 50; pAutoComplete->Mode = autocompleteSftMaskSuggest; return TRUE; } void CProject1Dlg::OnMatchAddCustomItemsSftMask1(long Count)
See Also SftMaskAutoComplete Object | Object Hierarchy