SftMask/OCX 6.5

SftMaskAutoComplete.MaxShown Property

Softel vdm, Inc.

Defines the maximum number of entries shown in the autocomplete window without a vertical scroll bar (suggest mode).

Syntax       

Get

VB.NET

Count = object.MaxShown  As Integer

VB

Count = object.MaxShown  As Long

C#.NET

int Count = object.MaxShown;

VC++

long Count = object->MaxShown;
long Count = object->GetMaxShown();

C

HRESULT object->get_MaxShown(long* Count);

Delphi

Count := object.MaxShown   : Integer;

Put

VB.NET

object.MaxShown = Count  As Integer

VB

object.MaxShown = Count  As Long

C#.NET

int object.MaxShown = Count;

VC++

long object->MaxShown = Count;
void object->PutMaxShown(long Count);

C

HRESULT object->put_MaxShown(long Count);

Delphi

object.MaxShown := Count   : Integer;

object

A SftMaskAutoComplete object.

Count

Defines the maximum number of entries shown in the autocomplete window without a vertical scroll bar (suggest mode), between 1 and 1000.

Comments

The MaxShown property defines the maximum number of entries shown in the autocomplete window without a vertical scroll bar (suggest mode).

This property is only used when AutoComplete.Mode is set to autocompleteSftMaskSuggest or autocompleteSftMaskSuggestAppend, as it defines the maximum number of visible entries in the autocomplete window.

If the defined number of items exceeds the maximum possible without exceeding the screen size, the autocomplete window is automatically made smaller to fit within the available space. The MaxShown property is not modified (it does not reflect the actual number of visible entries).


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