Skip to content

HideWebFrame

Takes a frame of the web interface off the screen without closing it.

The frame stays alive: its page keeps running and keeps its state, messages still reach it, and ShowWebFrame draws the same page again at once. A hidden frame gives up the keyboard and the mouse it held.

Returns true when the request was handed over, false and the reason when it could not be: "no web layer", "no web interface" or "no such frame".

HideWebFrame(frame)
Parameter Type
frame string the frame’s name

true, or false, reason - the reason as a person reads it

function OnKey(key, pressed)
if key == "f6" and pressed then HideWebFrame("map") end
end

ShowWebFrame · SetWebFocus · the Web interface group of the index