LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

switch between option pages

Solved!
Go to solution

Hi 

When i running the VI i want to change to page2,but i can exchange the pages,could someone tell me why i can not change the pages.

Thanks

0 Kudos
Message 1 of 7
(3,281 Views)
Solution
Accepted by topic author 314159ym

Ok,i fix it by change the property of option card

0 Kudos
Message 2 of 7
(3,253 Views)
Solution
Accepted by topic author 314159ym

@314159ym wrote:

Hi 

When i running the VI i want to change to page2,but i can exchange the pages,could someone tell me why i can not change the pages.

Thanks


So you want to change, but you can exchange? But you want to know why you can't change? Hmm...

 

My guess is the TabControl is disabled. Right-click>Advanced>Enable State should be "enabled".

 

You might want to post the VI. It's hard to tell from an image.

0 Kudos
Message 3 of 7
(3,251 Views)

Hi 

Thanks,it is fixed by change the property.

0 Kudos
Message 4 of 7
(3,246 Views)

What property?

(Make sure the tab is a control, not an indicator)

0 Kudos
Message 5 of 7
(3,218 Views)

the property of the control tab make it "work"

0 Kudos
Message 6 of 7
(3,188 Views)

So enabling the control with the "Enabled" property did the trick.

 

This could also be done through during edit time, by right clicking, Advanced, Enabled state, enabled. Both methods have the exact same outcome.

 

The property node will be executed every time it is run. It can be deleted once the control is enabled. Unless of course, some other the code disables it again. Then it makes sense to use a property node to enable the control at every run.

0 Kudos
Message 7 of 7
(3,181 Views)