SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the maximum number of characters in the control.
Get
VB.NET | Limit = object.MaxLength As Short |
VB | Limit = object.MaxLength As Integer |
C#.NET | short Limit = object.MaxLength; |
VC++ | short Limit = object->MaxLength; short Limit = object->GetMaxLength(); |
C | HRESULT object->get_MaxLength(short* Limit); |
Put
VB.NET | object.MaxLength = Limit As Short |
VB | object.MaxLength = Limit As Integer |
C#.NET | short object.MaxLength = Limit; |
VC++ | short object->MaxLength = Limit; void object->PutMaxLength(short Limit); |
C | HRESULT object->put_MaxLength(short Limit); |
object
Limit
Defines the maximum number of characters that can be entered, between 0 and 300. If 0 is specified, the limit is 300.
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.
See Also SftMask Object | Object Hierarchy