View previous topic :: View next topic
|
Author |
Message |
jctgf Currently Banned Active User
Joined: 04 Nov 2006 Posts: 109
|
|
|
|
hi,
how to know the position of the cursor when receiving a map?
thanks,
jc |
|
Back to top |
|
|
ahalyah
New User
Joined: 13 Dec 2007 Posts: 25 Location: india
|
|
|
|
Hi,
you can know the position of the cursor by EIBPOS(n).
I never tried it but heard that we can know the position by this.
Try it. |
|
Back to top |
|
|
star_dhruv2000
New User
Joined: 03 Nov 2006 Posts: 87 Location: Plymouth, MN USA
|
|
|
|
I think it EIBCPOSN |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
something like?
Code: |
DIVIDE EIBCPOSN BY 80 GIVING W-ROW REMAINDER W-COLUMN
ADD 1 TO W-ROW
ADD 1 TO W-COLUMN |
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
divide the eibcposn by 80 and save the remainder. the quotient is the line number and the remainder is the horizontal position within the line. |
|
Back to top |
|
|
star_dhruv2000
New User
Joined: 03 Nov 2006 Posts: 87 Location: Plymouth, MN USA
|
|
|
|
Good solution I must say .... |
|
Back to top |
|
|
|