help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'keyboard' (#rtl)

SetKeyboardDriver

Set a new keyboard driver.

Declaration

Source position: keybrdh.inc line 184

function SetKeyboardDriver(

  const Driver: TKeyboardDriver

):Boolean;

Description

SetKeyBoardDriver sets the keyboard driver to Driver, if the current keyboard driver is not yet initialized. If the current keyboard driver is initialized, then SetKeyboardDriver does nothing. Before setting the driver, the currently active driver should be disabled with a call to DoneKeyboard.

The function returns True if the driver was set, False if not.

For more information on setting the keyboard driver, see kbddriver.

Errors

None.

See also

GetKeyboardDriver

  

Return the current keyboard driver record.

DoneKeyboard

  

Deactivate keyboard driver.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505