ReadKey

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TSystemConsole class > Methods >

ReadKey

Previous pageReturn to chapter overviewNext page

Obtains the next character or function key pressed by the user. The pressed key is optionally displayed in the console window.

 

intercept - Determines whether to display the pressed key in the console window. true to not display the pressed key; otherwise, false.

keyinfo - A ConsoleKeyInfo object that describes the ConsoleKey constant and Unicode character, if any, that correspond to the pressed console key. The ConsoleKeyInfo object also describes, in a bitwise combination of ConsoleModifiers values, whether one or more SHIFT, ALT, or CTRL modifier keys was pressed simultaneously with the console key.

ReadKey                         PROCEDURE(*_ConsoleKeyInfoGrp keyinfo, BOOL pIntercept = FALSE)

 

ReadKey                         PROCEDURE()