|
|
|
SftMaskAutoComplete.Contents Property |
Defines the type of data shown in the autocomplete window.
Syntax
VB.NET |
Style = object.Contents As SftMaskAutoCompleteContentsConstants |
||
VB |
Style = object.Contents As SftMaskAutoCompleteContentsConstants |
||
C#.NET |
SftMaskAutoCompleteContentsConstants Style = object.Contents; |
||
VC++ |
enum SftMaskAutoCompleteContentsConstants Style = object->Contents;
|
||
C |
HRESULT object->get_Contents(enum SftMaskAutoCompleteContentsConstants* Style); |
||
Delphi |
Style := object.Contents : TOleEnum; |
||
VB.NET |
object.Contents = Style As SftMaskAutoCompleteContentsConstants |
||
VB |
object.Contents = Style As SftMaskAutoCompleteContentsConstants |
||
C#.NET |
SftMaskAutoCompleteContentsConstants object.Contents = Style; |
||
VC++ |
enum SftMaskAutoCompleteContentsConstants object->Contents = Style;
|
||
C |
HRESULT object->put_Contents(enum SftMaskAutoCompleteContentsConstants Style); |
||
Delphi |
object.Contents := Style : TOleEnum; |
object
A SftMaskAutoComplete object.
Style
Defines the type of data shown in the autocomplete window.
Name |
Value |
Description |
0 |
Text - Text as entered by the user. |
|
1 |
Files Only - Files found in the directory DefaultDirectory or matching the current path entered by the user. |
|
2 |
Directories Only - Directories found in the directory DefaultDirectory or matching the current path entered by the user. |
|
3 |
Files & Directories- Files and directories found in the directory DefaultDirectory or matching the current path entered by the user. |
Comments
The Contents property defines the type of data shown in the autocomplete window.
When selecting contentsSftMaskText, text as entered in the control is saved at the location defined by the File property and subsequently displayed, based on the current text entered by the user (and displayed based on the Mode property).
When selecting contentsSftMaskFiles, contentsSftMaskDirs or contentsSftMaskFilesDirs, the autocomplete information displays possible filenames and directories, based on files and directories found in the directory defined using the AutoComplete.DefaultDirectory property or using the partial path entered in the edit control. The selected file or directory is not saved at the location defined by the AutoComplete.File property. The AutoComplete.File property is not required when autocomplete is used display files and directories.