VKeyUp

From SCAR Divi Manual
Jump to: navigation, search

Definition

procedure VKeyUp(const VKey: Byte);

Availability

SCAR Divi 3.35 > Current

Description

Releases a key defined by VKey. The key will only be sent once every time to function is called. To hold the key, call VKeyDown.

Example

begin
  VKeyDown(CharToVKey('a'));
  Wait(50);
  VKeyUp(CharToVKey('a'));
end.

See Also