RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TQueryText.MaxWidth Property

Limits the length of text users can type into the control.

Pascal
property MaxWidth: Integer;
C++
__property int MaxWidth;

Use MaxWidth to limit the length of strings (in characters) that users can type into the generated control.

Note: MaxWidth has no effect on the size of the generated control. To limit the size of the control, use the DisplayWidth property.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!