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
The user has accepted an autocomplete text entry.
VB.NET | Private Sub object_MatchAccept(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.MatchAccept |
VB | Private Sub object_MatchAccept(ByVal Text As String, EntryText As String, Accept As Boolean) |
C#.NET | void object_MatchAccept(object sender, EventArgumentType e); |
VC++ | void OnMatchAcceptobject(_bstr_t Text, _bstr_t* EntryText, VARIANT_BOOL* Accept); |
C | HRESULT OnMatchAcceptobject(BSTR Text, BSTR* EntryText, VARIANT_BOOL* Accept); |
object
Text
A string containing the current control contents. Equivalent to the Text property (including all literals, regardless of the current ClipMode settings).
EntryText
A string containing the autocomplete entry selected by the user. The EntryText parameter can be modified to change the text.
Accept
A Boolean value. If True is returned, the autocomplete text entry is used to update the control contents. If False is returned, the selected autocomplete text entry is discarded. The default is True.
The MatchAccept event occurs when the user has accepted an autocomplete text entry.
The MatchAccept event can be used to reject or modify an autocomplete entry that the user has selected and accepted.
If a custom autocomplete entry is accepted by the user, the MatchCustom event occurs instead of the MatchAccept event.
While handling this event, the Masked Edit control must not be updated through its methods or properties.
The MatchAccept event only occurs when AutoComplete.Mode is set to autocompleteSftMaskSuggest or autocompleteSftMaskSuggestAppend, the entry list is displayed and the user makes and accepts a selection. This event does not occur for other modes.
See Also SftMask Events | Object Hierarchy