Difference between revisions of "SetMousePos"
From SCAR Divi Manual
m (Freddy moved page MoveMouse to SetMousePos without leaving a redirect) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | procedure | + | procedure SetMousePos(const X, Y: Integer); |
</source> | </source> | ||
==Availability== | ==Availability== | ||
− | SCAR Divi 3.00 > | + | SCAR Divi 3.35 > Current |
+ | |||
+ | ===Aliases=== | ||
+ | *MoveMouse (SCAR Divi 3.00 > 3.34) | ||
==Description== | ==Description== | ||
− | This function moves the cursor to a coordinate (''' | + | This function moves the cursor to a coordinate ('''X''', '''Y''') relative to the selected client window. |
==Example== | ==Example== | ||
<source lang="scar"> | <source lang="scar"> | ||
begin | begin | ||
− | + | SetMousePos(500, 500); | |
end. | end. | ||
</source> | </source> | ||
Line 19: | Line 22: | ||
==See Also== | ==See Also== | ||
*[[GetMousePos]] | *[[GetMousePos]] | ||
− | *[[ | + | *[[MoveMouse]] |
− | |||
*[[ClickMouse]] | *[[ClickMouse]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Mouse Functions]] | [[Category:Mouse Functions]] |
Latest revision as of 12:24, 8 September 2012
Definition
procedure SetMousePos(const X, Y: Integer);
Availability
SCAR Divi 3.35 > Current
Aliases
- MoveMouse (SCAR Divi 3.00 > 3.34)
Description
This function moves the cursor to a coordinate (X, Y) relative to the selected client window.
Example
begin SetMousePos(500, 500); end.