From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to lock the current tab

Solved!
Go to solution

Hi all,

  I have placed a tab control to the application, in one tab panel I am running a heavy code which takes couple minutes to be done. During the code running time, I want to lock the current tab so it can't switch to different tab. Is that any way to do that in CVI? Thanks.

0 Kudos
Message 1 of 2
(3,149 Views)
Solution
Accepted by dragondriver

Hi dragondriver,

  I don't think you can lock a tab, but you could programatically dim all the other tabs on the same event that starts your heavy processing and then undim them one it finished.

 

Hope this helps,

Bogdan

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