s_focusedEditBox
global · ui
- Address
0xcf4dc8· 4 bytes, up to0xcf4dcb- Type
CSimpleEditBox *- Meaning
- Holds the edit box with the keyboard focus, or null
- Confidence
- verified, proof one
- Finding
- ui/editbox#keyboard-focus
Finding: Keyboard focus in ui: EditBox
One edit box at a time holds the focus. Focusing requires the box to be visible and not already
focused: the old box loses it first, running OnEditFocusLost, then the new one gains it,
running OnEditFocusGained. Clearing acts only on the box that holds it. Showing a box focuses it
when nothing holds the focus and autoFocus is set; hiding a box clears its focus. A focus change
switches the input method on or off unless the box is numeric or password, and repaints the
caret.
The derivation is in the doc.