HeaderPane
Main
Hide
Share Link
Print

OptimalHeight Property, SftMaskAutoComplete Object

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

Syntax

Get

C#bool Boolean = object.OptimalHeight;
VB.NETBoolean = object.OptimalHeight As Boolean
C++VARIANT_BOOL Boolean = object->OptimalHeight;
VARIANT_BOOL Boolean = object->GetOptimalHeight();
CHRESULT object->get_OptimalHeight(VARIANT_BOOL* Boolean);

Put

C#bool object.OptimalHeight = Boolean;
VB.NETobject.OptimalHeight = Boolean As Boolean
C++VARIANT_BOOL object->OptimalHeight = Boolean;
void object->PutOptimalHeight(VARIANT_BOOL Boolean);
CHRESULT object->put_OptimalHeight(VARIANT_BOOL Boolean);

object

A SftMaskAutoComplete object.

Boolean

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

BooleanDescription
TrueThe autocomplete window is resized to fit all entries.
FalseThe autocomplete window is not resized. It uses its last saved size or, if none has been saved, a default height, which can leave empty space below the last entry. The AutoComplete.MaxShown property is not used.

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.

See Also SftMaskAutoComplete Object | Object Hierarchy


Last Updated 11/15/2026 - (email)
© 2026 Softel vdm, Inc.