LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i show or hide any page in tab control at run time?

How can i show or hide any page in tab control at run time?
0 Kudos
Message 1 of 5
(2,829 Views)
Hi Jawad,

It can be done by: right click at the "Tab control", select "Create" ->"Property node" ->"Pages"
Now you have this property at the block diagram.It's output is an array.Wire it to "Index array.vi",
and as index use the page you want to enable/disable. Now, get the output of "Index Array.vi" ,
right click ->  "Create" ->"Property for Page Class" -> "Page Visible".
right click -> "Change to write".
Now you can wire to it your desired state.

Regards,
Michael
_________________________________________________________________________________________________
LV 8.2 at Windows & Linux


0 Kudos
Message 2 of 5
(2,822 Views)
Use property nodes for of Tab, as shown in attached VI
Message 3 of 5
(2,820 Views)
Hi,Misklyar thanx for help.Your code solve my problem
0 Kudos
Message 4 of 5
(2,812 Views)
Hi, Devchander  thanx for help.
 
0 Kudos
Message 5 of 5
(2,810 Views)