cursorlocker TacCursorLocker component
Hierarchy Properties
Return to Introduction  Previous page  Next page
The acCursorLocker component is able to lock the movements of a mouse cursor, within the bounds of the Delphi/BCB form or within any control on this form.  
To lock the cursor withing the form - just drop on this form acCursorLocker component, set Active property to True then execute the project.  
tip The similar locking mechanism used even in Delphi/BCB IDE. For example, try to select components of your form and move mouse pointer beyond the form bounds. As you can see, cursor will be locked while you pushing down a left mouse button.