Hello,
I have a Form and on it is 2 labels and 2 lines (Inside of a picture box).
Now the user clicks on a certain point of the Picture box and the first Label and Line become visible and the label caption is a number previously entered(eg 85.31) Now the Line and label are both displayed where the mouse clicked.
Then the user clicks down lower on the Picture and it displays the 2nd Label and Line. Again the label caption is a number previously entered (eg 83.31)
Now what I need this to do is. Subtract the low from the high (85.31 - 83.31) and multiply by 0.50 and then add it to 83.31. (=84.31)
I know how to do all that coding BUT what I need help with is this.
Once it calculates that, I need it to make the 2 lines as if they were a number (85.31 - 83.31) and then I need it to find where 84.31 (Result) would be on the picture if 85.31 was line1 and Line2 was 83.31, and 84.31 is where it would put Line 3.
I have all the lines allready figured out I just need to know how to get it to put Line 3 where it calcualted (84.31)
Does anyone know how I could pull this off?
If you need me to explain more just let me know.
Thank you so much
Stilekid007![]()




Reply With Quote