LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make any one page of tab default page

hi all

 

i have project with 10 pages in tab control. i want to automatically any specific tab page should come active after some time.

 

How can i do that?

 

tHANKS 

0 Kudos
Message 1 of 5
(2,945 Views)

hi,

check this block-diagram....

image.png

 

Use Event Structure & Time-out to change back to default page. Default page mentioned by page Number (Here 0) .

 

 

0 Kudos
Message 2 of 5
(2,926 Views)

@Asif138 wrote:

hi all

 

i have project with 10 pages in tab control. i want to automatically any specific tab page should come active after some time.

 

How can i do that?

 

tHANKS 


If you have a project where you need use 10 TAB pages, you might be just better using SubPanels. Reduces BD elements, easier scalable, easier debuggable...

0 Kudos
Message 3 of 5
(2,921 Views)

Should it always be automatic or should the user also be able to change tabs manually? If so, it cannot be an indicator as in the answer earlier, it needs to be a control. To change tabs programmatically, write to a local variable of the tab control.

 

Do you simply want to go back to a certain page after a defined time of inactivity? Make sure to add a value change event for the tab control to reset the timeout whenever it is operated, then reset the tab only if it has not been operated for x seconds.

 

Many times you also need to use the timeout for other things. I would use a big event structure & loop for the main user interface and place the attached code in parallel, just dealing with the tab.

 

 

 

0 Kudos
Message 4 of 5
(2,916 Views)

thank u...

i missed that...

0 Kudos
Message 5 of 5
(2,912 Views)