ComponentOne True DBInput Pro 8.0
LengthAsByte Property (TDBText)

 

Reference> TDBText Control> TDBText Control Properties> LengthAsByte Property (TDBText)

LengthAsByte Property (TDBText)

The LengthAsByte property allows you to determine whether the number of characters a user can enter in the control, specified with the MaxLength property, are limited based on bytes or characters.

Syntax

TDBText.LengthAsByte= boolean

Read/Write at run time and design time.

Values

True - Limit the number of characters that the control can hold in bytes.

False - Limit the number of characters that the control can hold based on characters. (Default)

Remarks

If set to True, the number set in the MaxLength will be handled in bytes. However, if

The SelStart and the SelLength properties will be handle based on characters in all cases.

See Also

MaxLength Property (TDBText)

SelStart Property (TDBText)

SelLength Property (TDBText)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback