Skip to content

Mouse_Capture - DfBaseUIWindow

Causes all DataFlex mouse events to be sent to the object that captures the mouse

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
Arg1 Integer The handle to the window to be captured

Syntax

Property Integer Mouse_Capture
Access Type Syntax
Read Access: Get Mouse_Capture to IntegerVariable
Write Access: Set Mouse_Capture to IntegerVariable/Value

Description

This causes all DataFlex mouse events to be sent to the object that captures the mouse (the object receiving the Mouse_Capture).

Calling Release_Mouse_Capture restores this.

This message is of limited use, because the captured messages sent to the object do not identify where the mouse currently is on the screen.