Share this page

CreateKeyboardEventInfo(KeyboardEvent,Int64,Int32,Int32,Char,Int32) Method
Creates a KeyboardEventInfo with parameters: newEditBox, when, modifiers,keyCode, keyChar, and keyLocation.

C# Syntax

    public static KeyboardEventInfo CreateKeyboardEventInfo(
       KeyboardEvent keyboardEvent,
       long when,
       int modifiers,
       int keyCode,
       char keyChar,
       int keyLocation
    )

Parameters

keyboardEvent
  The KeyboardEvent to create the KeyboardEventInfo for.
when
  The time the event occurred.
modifiers
  A mask of values of HP.LFT.SDK.KeyModifier representing the modifier keys down during event.
keyCode
  The key pressed.
keyChar
  the Unicode character generated by this event.
keyLocation
  The location of the key that originated this key event.

Return Value

A new instance of KeyboardEventInfo with the given parameters.

Tips to improve your search results... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: