Help us improve Softanics
We use analytics cookies to understand which pages and downloads are useful. No ads. Privacy Policy

OnIsInputKey

Syntax

public delegate void OnIsInputKeyHandler(object sender, Keys keyData, ref bool InputKey);
public event OnIsInputKeyHandler OnIsInputKey;

Description

This event occurs in f_in_box__control.
Use it to specify which special keys should be processed by f_in_box__control.

Example

private void f_in_box__control1_OnIsInputKey(object sender, System.Windows.Forms.Keys keyData, ref bool InputKey)
{
    if (keyData == System.Windows.Forms.Keys.Tab || 
        keyData == System.Windows.Forms.Keys.Enter || 
        keyData == System.Windows.Forms.Keys.Up || 
        keyData == System.Windows.Forms.Keys.Down || 
        keyData == System.Windows.Forms.Keys.Left || 
        keyData == System.Windows.Forms.Keys.Right)
    {
        InputKey = true;
    }
}