SftMask/OCX 6.5

SftMaskAutoComplete.OptimalHeight Property

Softel vdm, Inc.

Defines whether the autocomplete window is resized optimally in height (suggest mode).

Syntax       

Get

VB.NET

Boolean = object.OptimalHeight  As Boolean

VB

Boolean = object.OptimalHeight  As Boolean

C#.NET

bool Boolean = object.OptimalHeight;

VC++

VARIANT_BOOL Boolean = object->OptimalHeight;
VARIANT_BOOL Boolean = object->GetOptimalHeight();

C

HRESULT object->get_OptimalHeight(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.OptimalHeight   : WordBool;

Put

VB.NET

object.OptimalHeight = Boolean  As Boolean

VB

object.OptimalHeight = Boolean  As Boolean

C#.NET

bool object.OptimalHeight = Boolean;

VC++

VARIANT_BOOL object->OptimalHeight = Boolean;
void object->PutOptimalHeight(VARIANT_BOOL Boolean);

C

HRESULT object->put_OptimalHeight(VARIANT_BOOL Boolean);

Delphi

object.OptimalHeight := Boolean   : WordBool;

object

A SftMaskAutoComplete object.

Boolean

Defines whether the autocomplete window is resized optimally in height (suggest mode).

Boolean

Description

True

The autocomplete window is resized to fit all entries.

False

The autocomplete window is not resized. It is initially sized as if AutoComplete.MaxShown entries were available, leaving empty space below the last entry.

Comments

The OptimalHeight property defines whether the autocomplete window is resized optimally in height (suggest mode).

This property is only used if the AutoComplete.Mode property is defined as autocompleteSftMaskSuggest or autocompleteSftMaskSuggestAppend.


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