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