← All built-ins / ui_ctrl_show()

ui_ctrl_show()

ui_ctrl_show(...$args): int

Parameters

NameTypeDescription
$handleintcontrol handle
$visiblebooltrue = show

Return value

Shows or hides one control.

Example

echo "ui_ctrl_show($panel, false);";
ui_ctrl_show($panel, false);

This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.

See also

ui_enable()ui_show()