Showing results for 
Search instead for 
Did you mean: 
Reply

How to set Tab Control's Tabs to always hide at app startup

How to set Tab Control's Tabs to always hide at app startup

How to set Tab Control's Tabs to always hide at app startup ?

 

I want all the tabs to HIDE at the start of the application

using labview 2010 here

0 Kudos
Message 1 of 8 (438 Views)
Reply
0 Kudos

Re: How to set Tab Control's Tabs to always hide at app startup

You can write FALSE to the "tabs visible?" property on startup.

Message 2 of 8 (436 Views)

Re: How to set Tab Control's Tabs to always hide at app startup

Where do i find the startup property?

0 Kudos
Message 3 of 8 (431 Views)
Reply
0 Kudos

Re: How to set Tab Control's Tabs to always hide at app startup

There is no startup property. I was talking about a property of the tab control. Simply make sure it executes right at the start of the program.

0 Kudos
Message 4 of 8 (419 Views)
Reply
0 Kudos

Re: How to set Tab Control's Tabs to always hide at app startup

you mean just leave it anywhere in the block diagram?

i tried that, it just triggers whenever ANY controls (switch, button etc) are clicked

0 Kudos
Message 5 of 8 (402 Views)
Reply
0 Kudos

Re: How to set Tab Control's Tabs to always hide at app startup

 


sunsaber wrote:

you mean just leave it anywhere in the block diagram?

i tried that, it just triggers whenever ANY controls (switch, button etc) are clicked


 

Then show us your code. If you place it outside the main while loop, it will get triggered exactly once per run of the VI. How is your VI organized? Do you use an event structure?

 

Do you possibly use the "continuous run" button? (That mode is only a temporary debugging tool, NOT a valid way to run a regular program!).

0 Kudos
Message 6 of 8 (387 Views)
Reply
0 Kudos

Re: How to set Tab Control's Tabs to always hide at app startup

thanks im going to try a while loop

currently i throw everything into an event structure and use Run Continiously

 

and it still runs ONCE even though i use Run Continiously

0 Kudos
Message 7 of 8 (372 Views)
Reply
0 Kudos

Re: How to set Tab Control's Tabs to always hide at app startup

 


sunsaber wrote:

currently i throw everything into an event structure and use Run Continiously

 

and it still runs ONCE even though i use Run Continiously


That is expected. "Run continously" basically restarts the VI whenever it completes. If you have an event structure, the VI can only complete if one of the events fires. Thus it will execute once, and then whenever an evet gets triggered.

 

Message 8 of 8 (366 Views)