SetTextInputControlHandler

From the Oblivion ConstructionSet Wiki
(Redirected from SetTextInputHandler)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(nothing) SetTextInputControlHandler functionScript:ref

Registers a function script to handle control-key combos pressed while the current text input menu is active.

The function script should accept a single integer argument; when a key is pressed in conjunction with the Control key, that key's scan code will be passed to the function script.

The script will not be informed of control-key combos which are handled by OBSE (for instance, ctrl+5 to change to font #5) unless the default controls have been disabled with SetTextInputDefaultControlsDisabled.

The function script is unregistered when the text input menu is closed.