[Overview][Constants][Types][Classes][Index] Reference for unit 'ptc' (#ptc)

TPTCKeyEventFactory.CreateNew

Declaration

Source position: line 0

public function TPTCKeyEventFactory.CreateNew: IPTCKeyEvent;

function TPTCKeyEventFactory.CreateNew(

  ACode: Integer

):IPTCKeyEvent;

function TPTCKeyEventFactory.CreateNew(

  ACode: Integer;

  AUnicode: Integer

):IPTCKeyEvent;

function TPTCKeyEventFactory.CreateNew(

  ACode: Integer;

  AUnicode: Integer;

  APress: Boolean

):IPTCKeyEvent;

function TPTCKeyEventFactory.CreateNew(

  ACode: Integer;

  AAlt: Boolean;

  AShift: Boolean;

  AControl: Boolean

):IPTCKeyEvent;

function TPTCKeyEventFactory.CreateNew(

  ACode: Integer;

  AAlt: Boolean;

  AShift: Boolean;

  AControl: Boolean;

  APress: Boolean

):IPTCKeyEvent;

function TPTCKeyEventFactory.CreateNew(

  ACode: Integer;

  AUnicode: Integer;

  AAlt: Boolean;

  AShift: Boolean;

  AControl: Boolean

):IPTCKeyEvent;

function TPTCKeyEventFactory.CreateNew(

  ACode: Integer;

  AUnicode: Integer;

  AAlt: Boolean;

  AShift: Boolean;

  AControl: Boolean;

  APress: Boolean

):IPTCKeyEvent;

function TPTCKeyEventFactory.CreateNew(

  AKey: IPTCKeyEvent

):IPTCKeyEvent;

Arguments

ACode

  

The key code.

Arguments

ACode

  

The key code.

AUnicode

  

The unicode number of the character, represented by the key.

Arguments

ACode

  

The key code.

AUnicode

  

The unicode number of the character, represented by the key.

APress

  

true if this is a key press event, false if it is a key release event.

Arguments

ACode

  

The key code.

AAlt

  

The alt key modifier.

AShift

  

The shift key modifier.

AControl

  

The control key modifier.

Arguments

ACode

  

The key code.

AAlt

  

The alt key modifier.

AShift

  

The shift key modifier.

AControl

  

The control key modifier.

APress

  

true if this is a key press event, false if it is a key release event.

Arguments

ACode

  

The key code.

AUnicode

  

The unicode number of the character, represented by the key.

AAlt

  

The alt key modifier.

AShift

  

The shift key modifier.

AControl

  

The control key modifier.

Arguments

ACode

  

The key code.

AUnicode

  

The unicode number of the character, represented by the key.

AAlt

  

The alt key modifier.

AShift

  

The shift key modifier.

AControl

  

The control key modifier.

APress

  

true if this is a key press event, false if it is a key release event.