Page 1 of 1

XScreenToValue and YScreenToValue

Posted: Mon Oct 10, 2005 2:37 pm
by 8572663
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.

Posted: Mon Oct 10, 2005 2:44 pm
by narcis
Hi leaf,

Yes, you could try using CalcXPosValue and CalcYPosValue.