Reports for WinForms | ComponentOne
C1.Win.C1Report.4 Assembly / C1.Win.C1Preview Namespace / KeyMap Class / SetHandler Method
The keystroke to map.
The handler for the keystroke.

In This Topic
    SetHandler Method
    In This Topic
    Sets a handler to an existing key.
    Syntax
    'Declaration
     
    Public Sub SetHandler( _
       ByVal keyData As Keys, _
       ByVal handler As KeyMap.DoAction _
    ) 
    public void SetHandler( 
       Keys keyData,
       KeyMap.DoAction handler
    )

    Parameters

    keyData
    The keystroke to map.
    handler
    The handler for the keystroke.
    See Also