Defines whether the autocomplete window is resized optimally in height (suggest mode).
Get
| C# | bool Boolean = object.OptimalHeight; |
| VB.NET | Boolean = object.OptimalHeight As Boolean |
| C++ | VARIANT_BOOL Boolean = object->OptimalHeight; VARIANT_BOOL Boolean = object->GetOptimalHeight(); |
| C | HRESULT object->get_OptimalHeight(VARIANT_BOOL* Boolean); |
Put
| C# | bool object.OptimalHeight = Boolean; |
| VB.NET | object.OptimalHeight = Boolean As Boolean |
| C++ | VARIANT_BOOL object->OptimalHeight = Boolean; void object->PutOptimalHeight(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_OptimalHeight(VARIANT_BOOL Boolean); |
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 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. |
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