|
|
|
SftMaskAutoComplete.MaxEntries Property |
Defines the maximum number of saved autocomplete entries.
Syntax
VB.NET |
Count = object.MaxEntries As Short |
||
VB |
Count = object.MaxEntries As Integer |
||
C#.NET |
short Count = object.MaxEntries; |
||
VC++ |
short Count = object->MaxEntries;
|
||
C |
HRESULT object->get_MaxEntries(short* Count); |
||
Delphi |
Count := object.MaxEntries : Smallint; |
||
VB.NET |
object.MaxEntries = Count As Short |
||
VB |
object.MaxEntries = Count As Integer |
||
C#.NET |
short object.MaxEntries = Count; |
||
VC++ |
short object->MaxEntries = Count;
|
||
C |
HRESULT object->put_MaxEntries(short Count); |
||
Delphi |
object.MaxEntries := Count : Smallint; |
object
A SftMaskAutoComplete object.
Count
Defines the maximum number of saved autocomplete entries, between 1 and 1000.
Comments
The MaxEntries property defines the maximum number of saved autocomplete entries.
The MaxEntries property is used to limit the maximum number of entries stored in the defined file (see AutoComplete.File property).
Generally, only a small number of entries should be saved, otherwise the amount of data presented to the user may not be useful and may slow data entry. For larger amounts of data, a combo box control may be a better choice than using the Masked Edit control's autocomplete feature.
If the AutoComplete.Contents property is set to contentsSftMaskFiles, contentsSftMaskDirs or contentsSftMaskFilesDirs, the MaxEntries property has no effect as file/directory lists or selections are never saved..