SftMask/OCX 6.5

SftMaskAutoComplete.IgnoreCase Property

Softel vdm, Inc.

Defines whether the comparison to find matching autocomplete entries is case sensitive.

Syntax       

Get

VB.NET

Boolean = object.IgnoreCase  As Boolean

VB

Boolean = object.IgnoreCase  As Boolean

C#.NET

bool Boolean = object.IgnoreCase;

VC++

VARIANT_BOOL Boolean = object->IgnoreCase;
VARIANT_BOOL Boolean = object->GetIgnoreCase();

C

HRESULT object->get_IgnoreCase(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.IgnoreCase   : WordBool;

Put

VB.NET

object.IgnoreCase = Boolean  As Boolean

VB

object.IgnoreCase = Boolean  As Boolean

C#.NET

bool object.IgnoreCase = Boolean;

VC++

VARIANT_BOOL object->IgnoreCase = Boolean;
void object->PutIgnoreCase(VARIANT_BOOL Boolean);

C

HRESULT object->put_IgnoreCase(VARIANT_BOOL Boolean);

Delphi

object.IgnoreCase := Boolean   : WordBool;

object

A SftMaskAutoComplete object.

Boolean

Defines whether the comparison to find matching autocomplete entries is case sensitive.

Boolean

Description

True

The comparison is case sensitive.

False

The comparison is not case sensitive.

Comments

The IgnoreCase property defines whether the comparison to find matching autocomplete entries is case sensitive.

If the AutoComplete.Contents property is set to contentsSftMaskFiles, contentsSftMaskDirs or contentsSftMaskFilesDirs, the IgnoreCase property is ignored as file/directory matching is not case sensitive.

Saved autocomplete entries are compared to the current control contents to find matching items, in preparation for display of the autocomplete list or the current suggestion. The built-in comparison is defined using the IgnoreCase property.

The Matching event can be used by an application to further reject or accept saved entries. The Accept parameter of the Matching event contains the result of the built-in comparison.


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