|
|
|
SftMask.MaxLength Property |
Defines the maximum number of characters in the control.
Syntax
VB.NET |
Limit = object.MaxLength As Short |
||
VB |
Limit = object.MaxLength As Integer |
||
C#.NET |
short Limit = object.MaxLength; |
||
VC++ |
short Limit = object->MaxLength;
|
||
C |
HRESULT object->get_MaxLength(short* Limit); |
||
Delphi |
Limit := object.MaxLength : Smallint; |
||
VB.NET |
object.MaxLength = Limit As Short |
||
VB |
object.MaxLength = Limit As Integer |
||
C#.NET |
short object.MaxLength = Limit; |
||
VC++ |
short object->MaxLength = Limit;
|
||
C |
HRESULT object->put_MaxLength(short Limit); |
||
Delphi |
object.MaxLength := Limit : Smallint; |
object
A SftMask object.
Limit
Defines the maximum number of characters that can be entered, between 0 and 300. If 0 is specified, the limit is 300.
Comments
The MaxLength property defines the maximum number of characters in the control.
The MaxLength property is used to limit the maximum number of characters than can be entered when the control is used as a simple edit control.
The MaxLength property has no effect if the control is used as a Masked Edit control (with Mask). The maximum defined number of characters only applies when the control is used as a simple edit control.