취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

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 포인트
1/8 메시지
3,521 조회수

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 포인트
2/8 메시지
3,519 조회수
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 포인트
3/8 메시지
3,516 조회수
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 포인트
4/8 메시지
3,512 조회수
Have a look at the attached example.  Run it and look at the front panel Tab 😉
 
RayR
0 포인트
5/8 메시지
3,506 조회수

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
6/8 메시지
3,491 조회수

[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 포인트
7/8 메시지
3,483 조회수
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 포인트
8/8 메시지
3,464 조회수