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 the comparison to find matching autocomplete entries is case sensitive.
Get
VB.NET | Boolean = object.IgnoreCase As Boolean |
VB | Boolean = object.IgnoreCase As Boolean |
C#.NET | bool Boolean = object.IgnoreCase; |
VC++ | VARIANT_BOOL Boolean = object->IgnoreCase; VARIANT_BOOL Boolean = object->GetIgnoreCase(); |
C | HRESULT object->get_IgnoreCase(VARIANT_BOOL* Boolean); |
Put
VB.NET | object.IgnoreCase = Boolean As Boolean |
VB | object.IgnoreCase = Boolean As Boolean |
C#.NET | bool object.IgnoreCase = Boolean; |
VC++ | VARIANT_BOOL object->IgnoreCase = Boolean; void object->PutIgnoreCase(VARIANT_BOOL Boolean); |
C | HRESULT object->put_IgnoreCase(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether the comparison to find matching autocomplete entries is case sensitive.
Boolean | Description |
---|---|
True | The comparison is case sensitive. |
False | The comparison is not case sensitive. |
The IgnoreCase property defines whether the comparison to find matching autocomplete entries is case sensitive.
If the AutoComplete.Contents property is set to contentsSftMaskFiles, contentsSftMaskDirs or contentsSftMaskFilesDirs, the IgnoreCase property is ignored as file/directory matching is not case sensitive.
Saved autocomplete entries are compared to the current control contents to find matching items, in preparation for display of the autocomplete list or the current suggestion. The built-in comparison is defined using the IgnoreCase property.
The Matching event can be used by an application to further reject or accept saved entries. The Accept parameter of the Matching event contains the result of the built-in comparison.
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