01-19-2023 10:31 AM
I need to programmatically set the mouse cursor position on top of a control when the program starts. Attached is a simplified version of what I want to do. In the example I want the cursor to be on top of, or near, the Control Point boolean indicator. I've tried using panel and screen coordinates but neither gives the correct position. I think I need to add or subtract some other value, perhaps the screen coordinates of one corner of the Labview front panel but I can't figure out how to proceed.
Solved! Go to Solution.
01-19-2023 10:57 AM
Can't open your VI (we're locked at no later than LV 2021).
Maybe you can extract what you need from the attached files.
01-19-2023 11:28 AM
Here's the VI in LV 2019. I'll check out the VIs you sent.
01-19-2023 12:00 PM
You should use the Window Bounds property instead. Programmatically Move the Front Panel to a Desired Position Using LabVIEW
However, I haven't figured out why we need to subtract a certain number.
01-19-2023 12:08 PM
This works perfectly - thank you!