Entry.modified read/write property


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

Example

local ui = require "ui" -- create a simple Window local win = ui.Window("Entry.modified sample", 320, 200) local label = ui.Label(win, "Enter your name : ", 60, 80) local entry = ui.Entry(win, "LuaRT", label.x+label.width+10, label.y-4) win:show() -- update user interface repeat ui.update() win:status("Entry.modified = "..tostring(entry.modified)) until not win.visible