F-IN-BOX .NET Help >> Classes >> f_in_box__control and f_in_box__form >> Events >> Extensions

OnIsInputKey

Syntax

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

Description

f_in_box__control event. Use it to specify what special keys should be processed by f_in_box__control.

[ C# ]
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;
}


Copyright © Softanics. All rights reserved.
F-IN-BOX is a trademark of Softanics.
Macromedia and Shockwave Flash are trademarks of Adobe