|
|
|
SftMaskAutoComplete.AddBottom Method |
Adds a custom autocomplete entry at the bottom of the list.
Syntax
VB.NET |
object.AddBottom(ByVal EntryText As String, ByVal EntryType As Short) |
||
VB |
object.AddBottom(ByVal EntryText As String, ByVal EntryType As Integer) |
||
C#.NET |
void object.AddBottom(string EntryText, short EntryType); |
||
VC++ |
HRESULT object->AddBottom(_bstr_t EntryText, short EntryType); |
||
C |
HRESULT object->raw_AddBottom(BSTR EntryText, short EntryType); |
||
Delphi |
procedure object.AddBottom(EntryText : WideString, EntryType : Smallint); |
object
A SftMaskAutoComplete object.
EntryText
The text to be added as an entry in the list of suggestions.
EntryType
A numeric value which is used once the user selects and accepts an entry. This value is passed to the MatchCustom event as EntryType argument. This value cannot be 0.
Comments
The AddBottom method adds a custom autocomplete entry at the bottom of the list.
The AddBottom and AddTop methods can only be used while handling a MatchAddCustomItems event.
Custom entries are only available if the AutoComplete.Mode property is defined as autocompleteSftMaskSuggest. Other modes do not support custom entries.
If the user selects and accepts a custom entry, the MatchCustom event occurs.