DarkBASIC Professional Help File

DX11 SET ESCAPE KEY

Sets whether pressing the escape key should automatically cause DX11 QUIT to return true or not.
The default behaviour is that it does.

Syntax

    DX11 SET ESCAPE KEY flag

Parameters

    flag

> Boolean
> Set to true to enable automatic closing by pressing the escape key or false to disable it.

Returns

This function does not return a value.

See also

CORE Functions Menu
DX11 Function Categories