SetWebFocusKeepInput
Lets the game keep the player’s keys while a frame has the keyboard.
A frame that holds the keyboard normally takes every key. With keep on, the game still gets the player’s keys while
no text field of the page has the focus - a player can walk with a panel open - and the page takes the keys back the
moment the player clicks into a text field. It does nothing while the frame does not hold the keyboard (SetWebFocus).
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".
Syntax
Section titled “Syntax”SetWebFocusKeepInput(frame, keep)| Parameter | Type | |
|---|---|---|
frame |
string | the frame’s name |
keep |
boolean | true to let the game keep the player’s keys |
Returns
Section titled “Returns”true, or false, reason - the reason as a person reads it
Example
Section titled “Example”-- a quest log the player reads while walkingShowWebFrame("quests")SetWebFocus("quests", true, false)SetWebFocusKeepInput("quests", true)See also
Section titled “See also”SetWebFocus · IsWebFocused · the Web interface group of the index
