Tab control page

Dear all:
I want to change Tab Control "page captin" name by program control ,but I don't find any property node about this.
Please help me!
Like this picture.
Solved!
Go to Solution.

Hi 新手一號
see this link
http://forums.ni.com/ni/board/message?board.id=170&message.id=16404&query.id=305842#M16404
Mike

Similar Messages

  • How do i set tab control page size programmatically?

    Hi,
    I have a tab control in my program and each page has different amounts of controls on it. I would like to know how I can make the tab control pages resize automatically, only to fit the controls on the page and not have extra space underneath that other pages require.

    romulus wrote in message news:<[email protected]>...
    > Hi,
    >
    > I have a tab control in my program and each page has different amounts
    > of controls on it. I would like to know how I can make the tab control
    > pages resize automatically, only to fit the controls on the page and
    > not have extra space underneath that other pages require.
    You can use the tab control property 'PaneDimension' to
    programatically change the size of the tab control. To
    programatically find the areas occupied by the controls on each page:
    Use the 'Pages' property of the tab control to get a reference to the
    desired page; wire that to a property node and select the
    'ControlsOnPage[]' property; iterate through all the control
    refere
    nces, getting the position and bounds of each control, using
    'Max & Min' and shift registers to find the extent occupied by the
    controls.
    Paul Cardinale

  • Cannot drag an indicator off a tab control page

    I inherit this VI and try to change certain controls in the tab control pages. But the controls are locked together, every time I select an item on the control, everything is selected. And when I make a new string indicator and drop onto the page, I cannot select or delete it. also when I use the arrow down key to move a control onto the tab control page, it does not have a normal shadowed effect to indicate that it's a floating control.
    The tab control is in the attachment.
    Attachments:
    Untitled 2.vi ‏22 KB

    Click on the control, then click on the Reorder button in the toolbar (should be the far right) then click Ungroup.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Array of Tab Control page names

    Hi,
    I wish to programatically create an array of the names of the pages within a Tab Control.
    See the attached VI for my attempt at this.
    It works, but as it runs it changes which page is displayed on the front panel.
    Is there a way to do this without changing the page displayed on the front panel?
    Cheers,
    Dan
    Dan
    CLD
    Solved!
    Go to Solution.
    Attachments:
    array of tab control page names.vi ‏9 KB

    Hi,
    Take a look at the attachment.
    Hope it helps,
    Paulo
    Attachments:
    array of tab control page names2.vi ‏10 KB

  • Are indicators updated on an inactive tab control page

    To decrease loop execution speed (increase acquisition speed) I have placed diagnostic displays on a seperate tab control page which is normally not the active page.  The thought is that speed will be increased as these displays would not be updated unless needed (screen I/O is normally time consumming).
    Is this a viable method?
    Roy

    It is not that those controls will not be updated, but the drawing of
    those controls on the screen that you save. This can definitely be very
    significant. It is also good programming praxis to hide unnecesary
    front panel elements.
    Also keep in mind that the eye can only handle 10-20 updates a second,
    and even that is for most controls much too fast. Lowering the
    indicator update rate to, say, 5-10 times a second, can  already
    achieve  major CPU relief. depending on the kind of interfacing I
    would go to much slower updates still.  If you use big data sets,
    you should also try to prevent creating too many copies in memory.

  • Tab control page label change color programmatically

    Hi everybody!
    I have a question about a tab control.
    I'm trying to figure out a way to programmatically change the  properties of the tab labels so the selected tab's label looks different to the others.
    I'd like to do this by changing aspects of it's font and it's color. But I can't find out how to access it either directly or by reference.
    I can get at the label string so if all else fails I could make the selected one all capitals!
    Am I missing something, or is this one of those things which can't be done?
    I'm using Labview 11.
    Regards,
    Jonathan.

    The link still works for me!
    Search the forum for "Tab Color".
    This does not change the text, but the tab color which is what I do to high light the selected tab.
    I use dark gray and light gray to help the user tell which tab is "active".
    Not exactly what you wanted.
    http://forums.ni.com/t5/LabVIEW/How-can-I-change-the-font-color-size-of-tab-controls/m-p/967920/high...
    http://forums.ni.com/t5/LabVIEW/Programmatically-changing-page-color-in-a-tab-control/m-p/840699/hig...
    http://forums.ni.com/t5/LabVIEW/tab-control-color/m-p/3062557/highlight/true#M873360
    Omar

  • Tab control page name

    I’d like an example or description of this:
    For Tab Control, change the name of the Tab Page at Runtime?
    Thanks,Chris

    You CAN do this.  For each tab, right-click and choose Advanced->Make Page Caption Match Label to uncheck the option.
    Then, in your program, get the Pages property.  Use that reference to access the Caption property.
    Note that the enum strings do not change, so if the LABEL for the tab is Page 1 and the caption is hello world, the tab value is still Page 1.
    Message Edited by Matthew Kelton on 02-27-2008 12:03 PM
    Attachments:
    Tab Caption.png ‏2 KB

  • Tab control page Setting problem?

    Why I am not able to change the page Label name programmatically. Why the page Label Name property is only readable?

    Hello.
    If using Labview 7, you must be able to change tab labels programmatically. There is an example called "tab control properties.vi" that shows how to do that.
    If using Labview 6 , this link has an example, too.
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EA9556A4E034080020E74861&p_node=DZ52041&p_submitted=N&p_rank=&p_answer=&p_source=External
    Hope it helps you.
    Alipio
    "Qod natura non dat, Salmantica non praestat"

  • 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

  • Duplicate a Tab Control Page

    This there a way to progamically duplicate a page of a tab control.

    No, that would require duplicating not just the page but also duplicating all the controls and indicators on that page--which LV can't do at runtime.
    No problem though, there's always a way to get where you're wanting to go. What exactly is it that you need to do?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Pass data between Tab Control Pages

    I’d like to initiate a serial VISA session in the first page of a Tab Control to use the VISA Serial Configure.VI outputs (Visa resource name and Error cluster) in other pages or outside the tab control.
    So, how can I pass those references outside the page? I used local variables, but it doesn't seem the best way to do this because I need to create several variables to capture the reference in each page of the tab control...
    I created a sub-VI to initialize the VISA session, but in this case it always starts a new session every time I use the sub-VI….
    Thanks in advance!
    Klein
    =====================================
    Block Diagrams (LabVIEW 8)
    Message Edited by Klein on 04-03-2007 12:56 PM
    Attachments:
    TabControl.vi ‏37 KB
    TabControl - Page1.jpg ‏94 KB
    TabControl - Page2-3.jpg ‏165 KB

    There's no reason at all to wire the tab control to a case statement. Since you have the read and write Booleans and they can't be clicked until the user changes tab pages, no code for the tab is necessary.With the Booleans for write and read, you should just have an event structure for those. You could initialize the serial port outside the main while loop and just pass the resource name in. Of course, if you wanted a tab for the init funciton, you could do that to but put a Boolean on that page to execute it. The only time you need to wire the tab control to a case statement is if you want to run some code immediately when the page is clicked.
    Attachments:
    Tab_Example.vi ‏45 KB

  • 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 - 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

  • 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

  • Create a log in tab in tab control and to create one of the tab is disabled and grayed

    Hello there
    Can you helpme to solve my question about log in in tab control? So basically i have two page in a tab control, page 1 contains log in such as username, password and login button and second page is nothing. After the user input the correct username and password into the string form, page 1 will be disabled and grayed and autmoatically will be in page two? I also upload the vi that i created and please correct me if i have something wrong about my vi.
    Please help me with this asap, because i have assignment based on the lab view about client server.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Untitled 112.vi ‏19 KB

    Hi,
    Aaa.. the blue box is an Enumeration Constant. Because I've used something like this you cannot change the name of the Tabs. To fix it:
    Simply replace these two Constants with Numerical Integer Constants 0 - for the first Tab and 1 - for the Second Tab. It took me a while to understand what you wanted to say . This way you can change the name without getting an error.
    I've rewritten the entire VI in order to be clean (I was ashamed of the previous one). You can still use the first one.
    Just an advice: Even if it looks at the beginning more complicated try to use Event Structure all the time when you have buttons. The use of loops with buttons and if structure (like in your vi) creates a lot of problems and it's hard to debug.
    Paul
    Attachments:
    password.vi ‏35 KB

Maybe you are looking for

  • Problem with Thread in JApplet

    Hi, I am working on a project on pseudo random functions, and for that matter I have written a problem. Now I am working on a user interface (JApplet) for my program. Because some heavy calculations can occur, I want to keep track of the progress, an

  • Regarding Query Performance.

    Please tell me .. How can i check the performance of query using index and without using index?

  • Yahoo e-mail service vs. AOL e-mail service

    From what I've been reading in here... it looks as if we HAVE to have either a Yahoo e-mail portal/service or an AOL e-mail portal/service. When I first started with Verizon (DSL service back in 2003 and FiOS service since about 2007)... you could ge

  • Migrating from 1.x on NT

    How do I migrate from an earlier version on NT? <P> Migrating from a Calendar Server 1.0x Windows NT installation <P> NOTE: Because Calendar Server 1.0x used an internal or non-LDAP directory, migrating from this version requires steps to import the

  • Photoshop Elements 6 to 8 Upgrade?

    Please help and advise. I currently have Photoshop Elements 6. Is there an upgrade to Photoshop Elements 8, or something highter than 6? Or do I need to purcahse a new Photoshop 8 program altogether? If so, what becomes of PSE6?