SftMask/OCX 6.5

SftMaskAutoComplete.Contents Property

Softel vdm, Inc.

Defines the type of data shown in the autocomplete window.

Syntax       

Get

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;
enum SftMaskAutoCompleteContentsConstants Style = object->GetContents();

C

HRESULT object->get_Contents(enum SftMaskAutoCompleteContentsConstants* Style);

Delphi

Style := object.Contents  : TOleEnum;

Put

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;
void object->PutContents(enum SftMaskAutoCompleteContentsConstants 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

contentsSftMaskText

0

Text - Text as entered by the user.

contentsSftMaskFiles

1

Files Only - Files found in the directory DefaultDirectory or matching the current path entered by the user.

contentsSftMaskDirs

2

Directories Only - Directories found in the directory DefaultDirectory or matching the current path entered by the user.

contentsSftMaskFilesDirs

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.


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com