Entry:hide() method
Hide and deactivate the Entry (events can no longer be fired).
Return value
This function returns no value.Example
local ui = require "ui"
-- create a simple Window
local win = ui.Window("Entry:hide() sample", 320, 200)
local entry = ui.Entry(win, "LuaRT", 110, 80)
entry.font = "Impact"
entry.fontsize = 18
-- Spawn a Task to hide/show calendar every 500ms
async(function()
while true do
entry:hide()
sleep(500)
entry:show()
sleep(500)
end
end)
ui.run(win):wait()