02-13-2010 09:00 PM
Hi Everyone,
I am changing the color of the background of some indicators according to temperature measures. Each background is linked to one temperature. I would like to show the value of a temperature when passing the arrow of my mouse over the indicator. I don't want to over charge the Front Diagram with all of the temperatures.
Is this possible? The temperature could appear in a unique and fixed indicator, or linked to the arrow,...
Any help would be great,
Thanks,
User
Solved! Go to Solution.
02-13-2010 09:45 PM
You can use the Mouse Move event to detect the movement and position of the mouse. Use the position in whatever algorithm you have to determine the value to update the indicator with.
02-14-2010 03:16 AM
I did something similar in the past. Attach your code and I can help you with this issue.
Dan07
02-14-2010 04:40 AM
Hi Ravens and Dan,
Thanks for your answers.
Ravens, I would rather not use the arrow position because I need to do this overs 100 indicator, and that would be a bit long. Added to that if I need to change the positions of the indicators (whch I will) that would mean to redefine the positions of the indicators....But perhaps your solution is the only possible?
Dan, I have taken out and simplified the piece of my program. Setting the value of the indicator to transparent except when the mouse is over the indicator could be an example of presentating the values but I still don't know how to this (without having to define the position of each box)
Thanks again
User
02-14-2010 04:57 AM
02-14-2010 06:14 AM
02-14-2010 10:22 PM
Is this what you need?
03-10-2010 09:28 AM
Hi Dan,
Thanks a lot for your quick answer. This is exactly what I was looking for.
Regards,
User