annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

how i can switch between tabs from program

hi,
How can i switch tabs between pages (page1, page2 ...) from program? I am using tab control.
Thank you,
Ranjith
0 Kudos
Messaggio 1 di 8
3.539Visualizzazioni

Do you want to do this programmatically?  if so then you'd use a property node to slect the active page.

Do you want to operator to select the tab at run-time?  Then simply click on the tab while the program is running.

RayR

0 Kudos
Messaggio 2 di 8
3.537Visualizzazioni
thanks for the quick reply...
Yes, I want to control it programmitically. But which property option i have to use. i couldnt find it. Can you help me which property option i should use to switch beween pages?
Ranjith
0 Kudos
Messaggio 3 di 8
3.534Visualizzazioni
Value should do

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Messaggio 4 di 8
3.530Visualizzazioni
Have a look at the attached example.  Run it and look at the front panel Tab 😉
 
RayR
0 Kudos
Messaggio 5 di 8
3.524Visualizzazioni

I would strongly recommend a local variable instead. Property nodes carry a lot of unneeded extra baggage.

 

If the tabs are always under programmatic control and should never directly be operated by the user, you should turn the tab control into an indicator and wire it directly, eliminating the local.



Message Edited by altenbach on 06-24-2008 09:39 AM
Messaggio 6 di 8
3.509Visualizzazioni

[COMEDY ON]

I'm obviously not one of the "Locals"  😉

<inside joke>

[COMEDY OFF]

Completely agree that is the operator will never click on the TAB, then change it into an indicator and wire the desired tab-number directly to the TAB indicator.

I would also hide the Tabs.  It looks better, too.



Message Edited by JoeLabView on 06-24-2008 12:48 PM
0 Kudos
Messaggio 7 di 8
3.501Visualizzazioni
System tabs look like good (on XP)

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Messaggio 8 di 8
3.482Visualizzazioni