LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can the Page Enabled State be set programatically?

I have a 3 page tab. Is there a way for the running program to enable and disable a particular page?
0 Kudos
Message 1 of 3
(3,056 Views)
Yes, use "Pages" property of your tab control, "Index Array" and "Page Enable State" property. (find attached example)

Good Luck
Message 2 of 3
(3,055 Views)
Rick,

Had a similar need a while ago. Best way I found is to keep track of the
page the is presently open and when the user tries to go to a "disabled"
page, use a local variable of the tab control to send it back to the
"presently open" page. The jump back from the "disabled" page is pretty
quick, so it almost appears as if they just can't open the page.

Hope this helps.

Jim

"RicK." wrote in message
news:506500000008000000284D0000-1023576873000@exchange.ni.com...
> I have a 3 page tab. Is there a way for the running program to enable
> and disable a particular page?
0 Kudos
Message 3 of 3
(3,055 Views)