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

SetMouseDriver

Set a new mouse driver.

Declaration

Source position: mouseh.inc line 101

procedure SetMouseDriver(

  const Driver: TMouseDriver

);

Description

SetMouseDriversets the mouse driver to Driver. This function should be called before InitMouseis called, or after DoneMouseis called. If it is called after the mouse has been initialized, it does nothing.

For more information on setting the mouse driver, mousedrv.

For an example, see mousedrv

See also

InitMouse

  

Initialize the FPC mouse driver.

DoneMouse

  

Deinitialize mouse driver.

GetMouseDriver

  

Get a copy of the currently active mouse driver.