VKeyDown

From SCAR Divi Manual
Revision as of 22:26, 11 October 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure VKeyDown(const VKey: Byte); </source> ==Availability== SCAR Divi 3.35 > Current ==Description== Sends a key defin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

procedure VKeyDown(const VKey: Byte);

Availability

SCAR Divi 3.35 > Current

Description

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

Example

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

See Also