I am using the functions XScreenToValue and YScreenToValue to calculate a set indexes into my data for a box that is drawn on the screen using mouse clicks and movements. Is there a function that performs the opposite calculation? I need to recalculate X and Y pixel locations to redraw the box when the screen is resized.
Thanks in advance.
XScreenToValue and YScreenToValue
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi leaf,
Yes, you could try using CalcXPosValue and CalcYPosValue.
Yes, you could try using CalcXPosValue and CalcYPosValue.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |