Input for WinForms | ComponentOne
C1.Framework Namespace / IView Interface / IsInputKey Method
Control that received the key.
One of the System.Windows.Forms.Keys values.

In This Topic
    IsInputKey Method (IView)
    In This Topic
    Internal version of IsInputKey that should be called by hosted controls in order to allow the view to handle tab keys, arrows, etc.
    Syntax
    'Declaration
     
    
    Function IsInputKey( _
       ByVal ctl As Control, _
       ByVal keyData As Keys _
    ) As Boolean
    bool IsInputKey( 
       Control ctl,
       Keys keyData
    )

    Parameters

    ctl
    Control that received the key.
    keyData
    One of the System.Windows.Forms.Keys values.

    Return Value

    True if the specified key is a regular input key; otherwise, false.
    See Also