SetFilter
From IfsoGUIWiki
Contents |
Declaration
SetFilter(funcFilter:Int(key:Int, gadget:ifsoGUI_Base))
Sets the function to use to filter keypresses.
Returns
Nothing
Parameters
- funcFilter:Int(key:Int, gadget:ifsoGUI_Base)) - The function the gadget will call for each keypress. Should return True to allow the keypress and False to not allow it. The functions parameters are:
- key:Int - Keycode of the key pressed.
- gadget:ifsoGUI_Base - Gadget that called the function.
Gadget Information
Pertains to Textbox and Multi-Line Textbox.
