Tab control with 2 pages

I want to create a Tab control with 2 pages, in each page there are 2 buttons - "OK" and "Cancel".
If on Page1, "OK" is clicked, Page2 will be disable and greyed, until "Cancel" is clicked. And vice-versa for Page2 buttons.
How to do this?
Thanks in advance...
Solved!
Go to Solution.

Hi Splee,
Please view the attached vi, I believe it's doing what you've asked. You can invoke properties using property node in order to change the value of variables.
Hi Simply_me check your Vi will it really works. To make this VI in working condition you have to do some more coding in your code.
Check your page selection technique.
Hi Splee,
First you have to find out on which Tab Page user clicking the buttons, the all operations you have to do on other page.
Once your page is disable you can't access the controls of that page. As Geeta says make a code using event structure with Tab Control property and invoke nodes. 
You have to do some coding to achieve your requirements.
Thanks and Regards
Himanshu Goyal
Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!

Similar Messages

  • Navigate pages of tab control with radio buttons

    hi guy,
    i need to navigate 7 pages of a tab control container usings custom buttons. that is, when i click on a button, i takes me to the specific page on the tab control container.
    i think this can be done using radio buttons and tab control container, but i dnt really know how. please any help will be appreciated.
    thanks....

    Hi jiggaharry,
    I think I may have a link that addresses you issue. Do have a look at this link:
    Navigate Tab Control with Custom Buttons:
    http://forums.ni.com/ni/board/message?board.id=300​&message.id=6123
    We have a vast array of data on ni.com for examples and tutorials which could be very helpful in your code development. Do feel free to browse through and use the examples are they are all free of charge
    Hope the link is useful to you.
    Regards,
    Manick | AE | NI ASEAN

  • Can I control pages in tab control with case structure?

    Hi there!
    I'm quite new to Labview and my company wants me to make some programs for testing of electronics. I'm currently working on the GUI and I would like to control three pages in a tab control with buttons.
    I only got the base package of Labview 2009 so I can't use Event structure.
    If you open my .vi you can see I have a tab control with three pages. In the first page I got a "Start" button that should open the next page in the tab control. In the middle page I have a "Tilbake (Back)" button that should go back to the previous page. The button called "Lagre (Save)" should work as a next button and go to the last page. On that page I have a "Tilbake(Back)", "Ny test(New test -> go to first page again)" and "Avslutt (Quit)".
    The buttons under the tab control where something I copied from an example just to try out. That works perfectly, but I cannot edit the Event Structure from the example.
    Is this possible to solve with Case Structure? Or maybe there are other solutions? Feel free to edit my .vi if you like
    Thanks for the help!
    Regards,
    Even Myhre
    Test engineer
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway
    Solved!
    Go to Solution.
    Attachments:
    Test GUI.vi ‏29 KB

    Hi again!
    Well it solved my problem, but I got a strange error while running my program.
    When I press "start", the tab control changes page. When I press "tilbake(back)" it is totally random how many clicks it is necessary for it to change back to the first page. It can be from 1 to 20-30 clicks. Which is very strange since all other navigation buttons works perfect. "Tilbake(back)" button on the last page works correctly and has the same structure as the "tilbake(back)" button on the middle page.
    I have tried all the different options on how the button will response on a press.
    Regrads,
    Even
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway
    Attachments:
    Test GUI2.vi ‏28 KB

  • Problem on switching tab control with wmp around

    Hi,
    I have search through the forum but still not able to find out the solution for my problem here.
    I have wmp play around, everything works fine but when i pause the movie, which going to switch to tab control page 2 but somehow the screen of the movie is still around, so any idea how to avoid the screen to be appear on the tab control page 2.
    Attach with vi here.
    Thanks in advance.
    Regards,
    Simon
    Attachments:
    WMP4.0.vi ‏79 KB

    It looks like this is bad news for you. This is a known issue and has been for a long time. Look at the link I provided.
    http://forums.ni.com/t5/LabVIEW/Media-Player-in-Tab-Control/m-p/527919
    Tim
    Johnson Controls
    Holland Michigan

  • Tab Control - change page name and color

    a)
    Is there any possibility to
    change the names of pages in a Tab Control programmatically?
    (I want to change the names in a runtime version depending on the user
    selected language. Therefore I can't use the Import Strings function.)
    b)
    Is it possible to change the colors of a Tab Control ?
    Robert
    (using LV6.02 on WinNT)

    Hello,
    If you use the property "Independant Label" of the tab, you can change the TabCaption.
    You cannot use blank names.
    See attached file. It was written with LabVIEW 6.1 and converted back to 6.0.
    Attachments:
    Change_Tab_Page_Name.vi ‏15 KB

  • Tab control with a case structure

    I am having trouble getting my tab control to work with case structure. I have 4 tabs that i want displayed on my front panel, each with a separate graph. When I click on any tab besides the first one there is nothing shown on the graph. I think i have some wiring issues. Any ideas?
    Attachments:
    version1.vi ‏379 KB

    See also this and this discusion. Most of the time, tab controls don't need any code.
    (You also have a couple of breakpoints (one on the entire diagram and one on the while loop). Make sure you remove them. Look for the red outlines.
    LabVIEW Champion . Do more with less code and in less time .

  • Tab Control - Custom Page Selector

    Hi all! I saw many applications where the tab control page selector is in the top right corner of the control as in the attached image. Is it possible to create this tab control from LV? Thank you!
    +++ In God we believe, in Trance we Trust +++
    [Hungary]
    Solved!
    Go to Solution.

    Many times it is not necessary to look for highly sophisticated turn key solutions. They might not exist where an easy way does

  • Embedding SAP standard iviews in Tab controls with Web Dynpro

    Hi,
    I would like to develop a Web Dynpro application using TabStrip control. I have to display SAP standard iViiw(ex: KM navingation iView, expore iView) in each Tab. How can I embed iViews in each Tab in Web Dynpro.
    Thanks
    Tats

    Hi,
    using the IFrame UI element to display an iView inside a WD application will not work in general as the iFrame is reloaded after each request executed for the embedding WD application. In case that the iView is "stateless" this restriction is perhaps not so hard but you should nevertheless make sure that the ongoing reloading of the iFrame does NOT create new sessions again and again on the server-side for the iView running in the iFrame.
    With the next NetWeaver release we will provide a capability to define page layouts using WD components. Doing this it will be easily possible to define a page layout showing several iViews in different tabs of a tab strip.
    Best regards
    Jochen

  • Problem with defaul tabbed panel with page refresh

    Hi,
    I have a problem with my spry tabbed panels. The default tab
    is set to be the 1st tab, when I move to 2nd tab and navigate
    through the content, as the page refreshes, and before it is fully
    loaded it shows the content of the first tab for about 20 seconds
    or so....then the page finally goes to the desired content on the
    2nd tab....
    How can I make it so this does not happen and it looks like a
    smooth transition as I navigate through my pages?
    Thanks,
    Brandan98

    U add extra classNames to the tabs and specify the styles on
    the new classes
    example:
    <div class="TabbedPanels style1_panels" id="tp1">
    <ul class="TabbedPanelsTabGroup style1_group">
    <li class="TabbedPanelsTab style1_tab"
    tabindex="0">Tab 1</li>
    <li class="TabbedPanelsTab style1_tab"
    tabindex="0">Tab 2</li>
    <li class="TabbedPanelsTab style1_tab"
    tabindex="0">Tab 3</li>
    <li class="TabbedPanelsTab style1_tab"
    tabindex="0">Tab 4</li>
    </ul>
    <div class="TabbedPanelsContentGroup
    style1_contentgroup">
    <div class="TabbedPanelsContent style1_content">Tab 1
    Content</div>
    <div class="TabbedPanelsContent style1_content">Tab 2
    Content</div>
    <div class="TabbedPanelsContent style1_content">Tab 3
    Content</div>
    <div class="TabbedPanelsContent style1_content">Tab 4
    Content</div>
    </div>
    </div>
    <script language="JavaScript" type="text/javascript">
    var tp1 = new Spry.Widget.TabbedPanels("tp1", { defaultTab: 2
    </script>
    style1 beein the extra class ;)
    U can also.. specify other classnames in the constructor read
    more about this here:
    http://labs.adobe.com/technologies/spry/articles/data_api/apis/tabbed_panels.html#options

  • Can I individually change any of the attributes of an individual tab (not the page) on a Tab Control?

    I have a Tab Control with approx. 15 tabs. After the user changes anything (adding text, changing a ring control, etc. ) from the default configuration on any of the 15 tabs, I would like a change to that individual tab only (say color change, text change, anything) so when the user sees all 15 tabs, they know what tab page has had changes to the defaults.
    I appreciate your help with this one!
    (Note: I tried using a imported bitmap control of a red checkmark - and use true/false to an
    visible property node -this only works when placed in any of the Tab control pages, but not on the individual Tab itself.)
    -Karl H.

    Karl,
    I have attached a LabVIEW 6i example to this post that indicates with an LED if the control on the Tab has been changed from its default value. I used the classic LED's to make them invisible when the value is still the default. Hope this helps.
    Attachments:
    tabcontrol_default.vi ‏27 KB

  • Tab control Output value to be display in other pages

    Hi guys
    I hava a VI using a tab control with multiple pages. The 1st page will have some calculation and give an ouput ,x.
    Then i will proceed to the 2nd page to perform other action, however i need the input automatically from what i have acquired in the first page, which is x.
    My problem is that i could not link up this output from the 1st page and send it to the 2nd page. 
    I thought it should be a reliatively simple but i am stuck in this. Please help me
    Cheers
    PX

    Hi pengxin,
    do you mean, you want to see x on all pages? If yes, then don't palce x inside the tabcontrol. Just add it to the front panel and move it with the arrow keys over the tab control.
    Mike
    Message Edited by MikeS81 on 03-25-2010 02:18 PM

  • Indicators show thru to front page of tab control.

    I have a tab control with boolean indicators on the second and third pages. When the indicators are activated (mine blink when certain tests are selected), they show on the front panel. I have tried to "move to front" the tab control but that didn't work. The property node for the tab control doesn't seem to have anything to help either. Any ideas?

    I found a straightforward solution here:  http://forums.ni.com/t5/LabVIEW/Determine-if-Tab-is-active/td-p/1841435
    which does change as the tabs change.
    The blinking question was asked, as noted, 12 years ago.  I apologize for the confusion caused by changing the question.
    I consider my question solved.
    Thanks to those who responded.

  • Is it possible to programatically add tab pages on tab control

    Hi All,
    Is it possible to programatically add tab pages on tab control? If yes then how?
    Thanks & Regards,
    Shrinivas

    Doing this will require the use of VI server and methods and properties.  First, some questions:
    Is the number of pages you may need unbounded?
    Do you have a maximum number of pages you need to display at any one time?
    If the answers are no and yes, then you can create a tab control with the maximum number of pages you need, and hide or show the pages, as necessary. To hide or show pages, use the Pages property to get references to all the pages.  Use Index Array to select the page you want to show/hide, then use its Page Visible property to show and hide it.
    You can also get a lot more dynamic, if you number of pages you need to show at any one time is less than the total number of pages.  In this case, you will want dynamic page contents and tab name.  You can set the tab name by Page Label property of the page (right next to the Page Visible property).  You can make the content dynamic by using a subpanel as the only contents of the page.  You can find out about subpanels in the LabVIEW help or this post.
    You also need to ask yourself whether a tab interface is the best one for your application.  I have usually found that if I need to show and hide a lot of tabs, I would be better off with a subpanel for my content and a text or menu ring the select the content.  Tree controls also work nicely for selection.
    Good luck!  Let us know if you need more help.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Highlighting current page on Tab control

    Hi!,
    I am using tab control with 7 pages. The page names are all in the same colour. Is there any way in which the colour for the name of the current page can be made different from the rest?
    If your answer involves property nodes (or more advanced techniques) please be descriptive as I am beginner.
    Also, which is the best book for inside stuff on property nodes?
    I am using LV-PDS 6.1
    Best wishes and thanks,
    Gurdas
    [email protected]
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    > Is it possible to assign the same keyboard key (to all buttons) such
    > that pressing it will do the job of clicking the current active
    > button? I would prefer this key to be the 'space bar'.
    >
    > The application allows only one hand to be free. The other hand will
    > be used to place test component and rotate it manually below the
    > sensor. Thus, such a feature makes the user's task very easy. He just
    > keeps clicking the space bar until the vi ends.
    >
    It isn't possible to assign a key to more than one control, since then
    it would be pretty unclear which control should out-of-the-blue receive
    the key. It is possible to catch key events and perform and action
    based upon the key press. Another option is to set
    the key focus to the
    next logical button in your progression. If the focus is set to a
    button, then the space bar, enter key, etc all work.
    Since you are asking for comments, the UI you describe sounds a bit odd
    to me. A sequence of buttons that the user is required to click in a
    given order? You might want to compare this to an indicator showing the
    stage and current results, and one more button that says Next. Tie the
    key navigation shortcut to the single button, and each button press
    moves to the next stage. You might want to add a Cancel or Stop button
    if there is ever any need to break out of the sequence. Finally, this
    is pretty close to a wizard that allows the user to go both directions.
    If it makes sense to reverse and redo a step, add that button too and
    you have a very standard UI.
    To build a wizard, use a tab control with a page for each stage. Hide
    the tabs, and modify the pages by adding or subtracting on the value.
    Greg McKaskle

  • Change tab control page programatically using boolean.

    I am wondering if there is a way to programatically change the tabs on tab control when a user clicks a button on  the interface? Here is what I am trying to do and if anybody has any great ideas please let me know. I have a tab control with currently 3 tabs. I want a button on the main area of the vi to go to page 2 and back to page 1 as the user clicks it. The second is that I want about 5 buttons in page 2 that will go to say page 3-5. Any ideas. Thanks
    Derek Tucker
    Derek Tucker
    [email protected]

    Sure, though I don't know why the user can't just click the tabs themselves. All you need is a simple event structure and writing to a local variable of the tab control.
    Attachments:
    tab control.vi ‏43 KB

Maybe you are looking for

  • Pivot tables in excel with Live Office

    Once I save a business objects XI R2 web intelligence report to excel format and schedule to users the excel which the users receive should have pivot tables and users should be able to add any fields of their choice in the report and view it similar

  • SIT Not storing in Forms--Resolved Thank you Mike

    Dear All, I have created SIT's and enabled approval through AME. But the Data is not saving in tables after approval. itz very urget to be resolved as my uat is on 17th. Regards, Jithin Edited by: user11132090 on 10-Jun-2009 02:03 Edited by: user1113

  • Error in LO cockpit data source

    Hi Friends,            On LBWE , my data sources is neither active/Inactive, and it has Error (red Color) next to the data source. How do I fix this?? How can I know what the problem is?? Please let  me know if the question is not clear, thanks,

  • WRT54GS help?

    My friends and I got a WRT54GS router for our apartment a couple of months ago. One of my friends and myself can connect to the router with no problems, but the other two are having trouble. They have been connected before, but now when they try to c

  • LabVIEW 7.0 Crashes when inserting "Instrument I/O Assistant" Express VI

    Hi, I'm unable to work with Instrument IO Assistant when ever i try to place the IIOA express vi on the blockdiagram a message pops up saying "MAX or IIOA is not installed correctly please install from NI driver CD". Also i've not installed NI-DAQ/mx