Edit.textlimit readwrite


Get or set the maximum number of characters that the Edit control can contain. Set to 0 for unlimited (default).

Example

--! luart-extensions import ui local win = ui.Window("Edit.textlimit sample", 320, 200) local edit = ui.Edit(win, "Enter text here...") editext.limit = 10 await win:showasync()