KeyDown

From SCAR Divi Manual
Revision as of 11:17, 26 October 2012 by Freddy (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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