Edit.modified read/write property


Get or set a boolean value, indicating wether the Edit has been modified.

Example

local ui = require "ui" -- create a simple window local win = ui.Window("Edit.modified sample", "fixed", 340, 240) local label = ui.Label(win, "Enter text : ", 10, 10) local edit = ui.Edit(win, "", label.x + label.width + 8, label.y) win:show() -- update user interface repeat ui.update() win:status("Edit.modified = "..tostring(edit.modified)) until not win.visible