Friday, December 21, 2018

Tip of the Day: Capturing the Mouse Cursor Position
Product.......: R:BASE X.5 and R:BASE X.5 Enterprise (Version 10.5)
Build.........: 10.5.1.21212 or higher
Sections......: Command
Keywords......: GETPROPERTY, Mouse Cursor, Window, Screen

Did you know you can now capture the mouse cursor position by coordinates;
for both the current window, or the entire screen?

Four additional GETPROPERTY parameters were added to support the ability
to recognize the mouse position by X and Y coordinates. Capturing the
mouse position is possible within the current form window, or for the
entire screen.

 . MOUSE_FROM_WINDOW[X]
 . MOUSE_FROM_WINDOW[Y]
 . MOUSE_FROM_SCREEN[X]
 . MOUSE_FROM_SCREEN[Y]

Example:

 GETPROPERTY APPLICATION 'MOUSE_FROM_SCREEN[X]' 'vScreenX'
 GETPROPERTY APPLICATION 'MOUSE_FROM_SCREEN[Y]' 'vScreenY'

R>SHOW VAR

Variable           = Value                     Type
------------------   ----------------          -------
vScreenX           = 787                       TEXT
vScreenY           = 724                       TEXT

Very Best R:egards,

Razzak.

https://www.rbase.com
http://www.facebook.com/rbase/


--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to