Difference between revisions of "KeyDown"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure KeyDown(const Key: Char); </source> ==Availability== SCAR Divi 3.35 > Current ==Description== Sends a key defined...")
 
(No difference)

Latest revision as of 11:17, 26 October 2012

Definition

procedure KeyDown(const Key: Char);

Availability

SCAR Divi 3.35 > Current

Description

Sends a key defined by the character Key and holds it down. The key will only be sent once every time to function is called. To release the key, call KeyUp.

Example

begin
  KeyDown('a');
  Wait(50);
  KeyUp('a');
end.

See Also