Difference between revisions of "VKeyDown"

From SCAR Divi Manual
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 22:26, 11 October 2012

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