SftBox/OCX 4.5

SftBoxEdit.Limit Property

Softel vdm, Inc.

Defines the maximum number of characters that can be entered by the user.

Syntax       

Get

VB.NET

Count = object.Limit  As Integer

VB

Count = object.Limit  As Long

C#.NET

int Count = object.Limit;

VC++

long Count = object->Limit;
long Count = object->GetLimit();

C

HRESULT object->get_Limit(long* Count);

Delphi

Count := object.Limit   : Integer;

Put

VB.NET

object.Limit = Count  As Integer

VB

object.Limit = Count  As Long

C#.NET

int object.Limit = Count;

VC++

long object->Limit = Count;
void object->PutLimit(long Count);

C

HRESULT object->put_Limit(long Count);

Delphi

object.Limit := Count   : Integer;

object

A SftBoxEdit object.

Count

Defines the maximum number of characters that can be entered by the user. If 0 is specified, there is no predefined limit.

Comments

The Limit property defines the maximum number of characters that can be entered by the user.

The Limit property prevents the user from entering more than the defined maximum number of characters. It also limits data copied using the clipboard. It does not prevent the application from selecting items which may display more data or from defining more data.

This property cannot be used with a drop down list combo box.


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