4D v16.3

POST CLICK

Home

 
4D v16.3
POST CLICK

POST CLICK 


 

POST CLICK ( mouseX ; mouseY {; process} {; *} )  
Parameter Type   Description
mouseX  Longint in Horizontal coordinate
mouseY  Longint in Vertical coordinate
process  Longint in Destination process reference number, or Application event queue, if omitted, or 0
in If specified, global coordinate system is used If omitted, local coordinate system is used

The POST CLICK command simulates a mouse click. Its effect as if the user actually clicked the mouse button.

You pass the horizontal and vertical coordinates of the click in mouseX and mouseY. If you pass the * parameter, you express these coordinates relative to the screen. If you omit the * parameter, you express these coordinates relative to the frontmost window of the process whose process number you pass in process.

If you specify the process parameter, the click is sent to the process whose process number you pass in process. If you pass 0 (zero) or if you omit the parameter, the click is sent at the application level, and the 4D scheduler will dispatch it to the appropriate process.



See also 

POST EVENT
POST KEY

 
PROPERTIES 

Product: 4D
Theme: User Interface
Number: 466

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)