LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically changing the ROI of a touchscreen.

Hi!

 

I have a program with modal screens. Usually whenever there is a modal screen running you are unable to control/interact with anything else. Now.. I control my program using a touch screen and when i click anywhere outside the modal screen while its running it allows the window in the background to go on top, causing my program to frezze.

 

That brings me to my question, can i programmatically change the ROI of my touchscreen so that it only covers the area of the modal screen? if so, how?

 

 

thanks!

 

 

/Peter

0 Kudos
Message 1 of 3
(2,208 Views)

is there a fix for that?

0 Kudos
Message 2 of 3
(2,190 Views)

Peter,

 

Let me know if I'm misunderstanding the question, but I'm assuming that you have a front panel then modal/dialog windows are appearing. You could resize the front panel to take up the entire screen then any touches outside of the modal window but in the area of the front panel will be ignored. Those settings can be changed by going to File>>VI Properties>>Window Run-Time Position>> Set position to maximized.

 

Regards,

Danny F

Danny Funk -- Senior Group Manager -- Software R&D -- NI
0 Kudos
Message 3 of 3
(2,178 Views)