| Friendly Name | Text Limit |
|---|---|
| API Name | TextLimit |
| Type | Long |
| Restrictions | Must be greater than or equal to 0 |
| Get Function | (dcl-Control-GetTextLimit
<CONTROL>) |
| Set Function | (dcl-Control-SetTextLimit
<CONTROL>
NewValue [as
Long]) |
| Applies To | Combo Box, Image Combo Box, Text Box |
此属性设置控件编辑框中用户输入的文本允许的最大字符数。 如果此属性的值为零,则唯一的限制是操作系统强加的限制(通常大于32k)。 请注意,当选择列表项时,属性不会更改现有编辑框文本或限制编辑框中放置的文本的长度。