Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

OptimalHeight Property, SftMaskAutoComplete Object

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

Syntax

Get

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

Put

VB.NETobject.OptimalHeight = Boolean As Boolean
VBobject.OptimalHeight = Boolean As Boolean
C#.NETbool object.OptimalHeight = Boolean;
VC++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 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.

See Also SftMaskAutoComplete Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.