Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Layers🞂TLayerCollection🞂MouseEventsPropertyPublic

TLayerCollection.MouseEvents

Controls whether mouse interaction is globally enabled for layers in the collection.

Declaration ​

pascal
property MouseEvents: Boolean read FMouseEvents write SetMouseEvents;

Description ​

When MouseEvents is True, mouse actions are dispatched to layers under the cursor. Setting MouseEvents to False disables layer mouse handling and releases active mouse capture.