VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



POS: Cursor & Form Positions & Offsets Plus many more Subs & Functions

by Chad Roe (4 Submissions)
Category: Miscellaneous
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

[www.chadworkz.com] This is an example of how to get the cursor's X & Y positions, the form's X & Y positions, and the X & Y offset between the two. All positions are dynamic and change as you move the cursor and/or the form. The offset values are very valuable, especially for true "mouse-over" functions. The offset is the difference between the cursor's position on the screen and the cursor's position on the form. Trust me, this is something that everyone needs to learn and know...it can be extremely valuable.

Assumes
There are a lot more Subs & Functions in this example that you can learn from. Some may think they are just basic codes, but in reality, they are very good and sometimes complex codes that everyone needs to learn. Spend some time looking through this example and check out everything it has to offer!
Code Returns
Returns the cursor's X & Y positions, the form's X & Y positions, and the offset between the two. The offset is the difference between the cursor's position on the screen and the cursor's position on the form.

Rate POS: Cursor & Form Positions & Offsets Plus many more Subs & Functions

Download POS: Cursor & Form Positions & Offsets Plus many more Subs & Functions

Download POS: Cursor & Form Positions & Offsets Plus many more Subs & Functions (45 KB)

POS: Cursor & Form Positions & Offsets Plus many more Subs & Functions Comments

No comments have been posted about POS: Cursor & Form Positions & Offsets Plus many more Subs & Functions. Why not be the first to post a comment about POS: Cursor & Form Positions & Offsets Plus many more Subs & Functions.

Post your comment

Subject:
Message:
0/1000 characters