TextboxExtrasHandleInput Method |
Quick keyboard handling of fields - Connect to keyboard-keypress event. Pass in KeyChar, and make the return value = e.Handled
Namespace: ANDREICSLIB.ClassExtrasAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool HandleInput(
TextboxExtrasInputType IT,
char keyChar,
Control c = null
)
Public Shared Function HandleInput (
IT As TextboxExtrasInputType,
keyChar As Char,
Optional c As Control = Nothing
) As Boolean
public:
static bool HandleInput(
TextboxExtrasInputType^ IT,
wchar_t keyChar,
Control^ c = nullptr
)
static member HandleInput :
IT : TextboxExtrasInputType *
keyChar : char *
?c : Control
(* Defaults:
let _c = defaultArg c null
*)
-> bool
Parameters
- IT
- Type: ANDREICSLIB.ClassExtrasTextboxExtrasInputType
the input type - keyChar
- Type: SystemChar
e.KeyChar - c (Optional)
- Type: System.Windows.FormsControl
ref to the textbox/combobox for ctrl+a keys, not required
Return Value
Type:
Booleane.Handled
See Also