Groupbox:hide() method


Hide and deactivate the Groupbox (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("Groupbox:hide() sample", 320, 200) local groupbox = ui.Groupbox(win, "LuaRT", 10, 10, 300, 180) ui.Button(groupbox, "Child Button", 110, 80) -- Spawn a Task to hide/show groupbox every 500ms async(function() while true do groupbox:hide() sleep(500) groupbox:show() sleep(500) end end) ui.run(win):wait()