<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Richedit Control > Richedit Control Creation > CONTROL ADD RICHEDIT > RichEdit Properties > <RichEditName>.EventMask |
Description
Allows set/get the limitation for text length of the richedit control.
Syntax
' Set
<richeditName>.LimitText = newLimit
' Get
currentLimit = <richeditName>.LimitText
Returns (Get only)
Number, limit in characters.
Parameters (Set only)
Name |
Type |
Optional |
Meaning |
newLimit |
Number |
No |
Limit in characters for the richedit |
Remarks
Restrictions
Should you set the text limit to smaller than current contents, they will not be trimmed.
See also
Examples
control add richedit name "myRichedit", hDlg, %reMain, "", 5, 5, 100, 25
' Limiting text length to 1024
myRichedit.LimitText = 1024