<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VI Pane Colour in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672898#M596366</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Mitch85 wrote:&lt;BR /&gt;
&lt;P&gt;Tried the example, works a treat, however, a few more questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you have a main panel which is the main screen that you see, then panes within the panel? &lt;FONT color="#008000"&gt;Yes the panel is an array of panes.&amp;nbsp; For most VIs the array size is 1.&amp;nbsp; Adding a vertical or horizontal splitter divides the panel into two panes which can then be treated differently.&amp;nbsp; Also adding a sub panel adds a new pane. &amp;nbsp;&lt;/FONT&gt; If so, how do you display panes and what are the benefits of having panels? &lt;FONT color="#008000"&gt;They allow sub panels and splitters very useful for resizeing controls or displaying another vi's FP within the main VI's front panel&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to make the initial colour that the colour box is set to the current panel colour as every time I run the VI, the panel is changed to black?&amp;nbsp; &lt;FONT color="#008000"&gt;Read the property first! or change the color box control's default value&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to use this method on different tabs? I know I can just set a tab colour, just interested in if its possible. &lt;FONT color="#008000"&gt;Tabs are not panes and while they have a BG color property it is not of the same class (Vi server&amp;gt;Vi&amp;gt;VI) &lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2011 21:03:48 GMT</pubDate>
    <dc:creator>JÞB</dc:creator>
    <dc:date>2011-08-16T21:03:48Z</dc:date>
    <item>
      <title>VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672292#M596229</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I started playing around with trying to change the front VI window colour and found a way to do it programatically, however when I try and replicate this code, I cannot select the correct VI property as shown in the attached picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the picture, the refnum from the VI property 'Panel' is fed into another property node. This property is then chosen to be 'colour' and the box has gone red. A colour box control has then been added.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On my VI, on the second property node, I cannot select colour anywhere and the box does not go red no matter what I select. Also the only colour selection box that I can select from the front panel does not look the same as the one in the picture; the one I can select places a coloured in version on the block diagram but this may just be because Im manually selected it rather than having the ability to right click the property node and select create-&amp;gt;control.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might need to open the file in MS paint as when I try to view it in normal MS viewer it gets compressed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers for looking&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 15:02:50 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672292#M596229</guid>
      <dc:creator>Mitch_Peplow</dc:creator>
      <dc:date>2011-08-16T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672304#M596233</link>
      <description>&lt;P&gt;The default value for a VI property node is "This VI." &amp;nbsp; Just pass a VI server referance to the VI you want to change the color of to the code you've shown so the property node knows which panel to color.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 15:08:25 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672304#M596233</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2011-08-16T15:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672310#M596234</link>
      <description>&lt;P&gt;You've lost me, what have I done wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I only have one VI open in the whole project, does it not just point at that VI?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 15:12:29 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672310#M596234</guid>
      <dc:creator>Mitch_Peplow</dc:creator>
      <dc:date>2011-08-16T15:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672364#M596247</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Mitch85 wrote:&lt;BR /&gt;
&lt;P&gt;You've lost me, what have I done wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I only have one VI open in the whole project, does it not just point at that VI?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In a word no.&amp;nbsp; It points to the vi supplied by the referance into the vi panel property node.&amp;nbsp; (if left unwired it points to the FP of the vi it is on)&lt;/P&gt;
&lt;P&gt;Heres an example in 2010.&amp;nbsp; run it and see what happens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/50494i791E73E01F4C8716/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="1.png" title="1.png" align="middle" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 15:32:35 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672364#M596247</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2011-08-16T15:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672664#M596313</link>
      <description>&lt;P&gt;Hi Jeff,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please follow these two links:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;http://digital.ni.com/public.nsf/allkb/0DDBDB2FE2F54A5286256918006D7BB9&amp;nbsp;&amp;nbsp;which was from the NI knowledge base&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;http://zone.ni.com/devzone/cda/epd/p/id/794&amp;nbsp;which is a downloadable .vi from the developer zone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been trying to write the .vi from scratch but cannot get it to look, nor run the same but as you can cleary see from running, it works?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 18:26:17 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672664#M596313</guid>
      <dc:creator>Mitch_Peplow</dc:creator>
      <dc:date>2025-10-13T18:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672720#M596324</link>
      <description>&lt;P&gt;GOT IT.&lt;/P&gt;
&lt;P&gt;the red background on the property node.&amp;nbsp; Guess what.&amp;nbsp;&amp;nbsp; It means a demoted property (no longer available)&amp;nbsp; the example was written in LabVIEW version 6.0 before they had panes.&amp;nbsp; This was changed in LabVIEW 8.0 when splitters and subpanels were introduced so a current panel is a collection of panes.&amp;nbsp; You are way beyond the times!&amp;nbsp; (and NI should probably re-link the example code to the newer method or at least add a disclaimer that the method works for Version 6.0 - 7.1)&amp;nbsp; For backward compatability NI wrote a red paneled property node that hides the Panes property node and loop this can only be used by the version converter when opening 6.0 code in 2010.&amp;nbsp; (well I bet you COULD get to it in vi.lib but I would not advise it)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 19:16:28 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672720#M596324</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2011-08-16T19:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672810#M596345</link>
      <description>&lt;P&gt;So should the example in the link that I put down to the NI knowledge base work then?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 20:10:42 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672810#M596345</guid>
      <dc:creator>Mitch_Peplow</dc:creator>
      <dc:date>2011-08-16T20:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672858#M596358</link>
      <description>&lt;P&gt;Tried the example, works a treat, however, a few more questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you have a main panel which is the main screen that you see, then panes within the panel? If so, how do you display panes and what are the benefits of having panels?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to make the initial colour that the colour box is set to the current panel colour as every time I run the VI, the panel is changed to black?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to use this method on different tabs? I know I can just set a tab colour, just interested in if its possible.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 20:46:46 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672858#M596358</guid>
      <dc:creator>Mitch_Peplow</dc:creator>
      <dc:date>2011-08-16T20:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672898#M596366</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Mitch85 wrote:&lt;BR /&gt;
&lt;P&gt;Tried the example, works a treat, however, a few more questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you have a main panel which is the main screen that you see, then panes within the panel? &lt;FONT color="#008000"&gt;Yes the panel is an array of panes.&amp;nbsp; For most VIs the array size is 1.&amp;nbsp; Adding a vertical or horizontal splitter divides the panel into two panes which can then be treated differently.&amp;nbsp; Also adding a sub panel adds a new pane. &amp;nbsp;&lt;/FONT&gt; If so, how do you display panes and what are the benefits of having panels? &lt;FONT color="#008000"&gt;They allow sub panels and splitters very useful for resizeing controls or displaying another vi's FP within the main VI's front panel&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to make the initial colour that the colour box is set to the current panel colour as every time I run the VI, the panel is changed to black?&amp;nbsp; &lt;FONT color="#008000"&gt;Read the property first! or change the color box control's default value&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to use this method on different tabs? I know I can just set a tab colour, just interested in if its possible. &lt;FONT color="#008000"&gt;Tabs are not panes and while they have a BG color property it is not of the same class (Vi server&amp;gt;Vi&amp;gt;VI) &lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 21:03:48 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672898#M596366</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2011-08-16T21:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672940#M596379</link>
      <description>&lt;P&gt;Jeff, last one before I go to bed as my eyes are getting screen burn.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I add splitters and how do I show other vi FP's?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How would I read the colour box colour property first then make the colour box display the current panel colour? I've tried a couple of ways and I though I would just need to make the colour box a read property then put this into a write colour box property node but there are broken wires I cannot seem to get rid of.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the picture of the block diagram you posted earlier, what does the bottom part do where it does the state maximized and pane colour 2?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry if I'm asking basic questions or if it seems like I'm being lazy. Im really not meaning to be, I've just got so many questions and not enough time to try everything out one by one; plus when I do try, I run into many issues&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers again Jeff&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mitch&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 21:30:03 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672940#M596379</guid>
      <dc:creator>Mitch_Peplow</dc:creator>
      <dc:date>2011-08-16T21:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672966#M596385</link>
      <description>&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/50566i61DD5CF7853BF0C2/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="1.png" title="1.png" align="middle" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The vi in the subpanel just hapens to be in vi.lib down deep.&amp;nbsp; The lower area opens a referance to this vi and changes its panel color&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/50568iD0D8358BD217C102/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="1.png" title="1.png" align="middle" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 21:45:55 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1672966#M596385</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2011-08-16T21:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: VI Pane Colour</title>
      <link>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1673372#M596485</link>
      <description>&lt;P&gt;Morning Jeff,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ill give that bottom part of your code a go later on and see what happens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I set up new panes as you showed and was playing around and found that you could change the background to a design so I chose checkerplate. I then chose clouds for another. However when I removed all the panes, the background stayed as checkerplate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Questions; how do I get the background to change with the vi code again without adding panes to edit the pane properties, how do I add another vi into a pane, is it possible to individually colour each pane?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Got a question on tab control as well. I had&amp;nbsp;some code on the front panel of&amp;nbsp;a vi and decided that I wanted to add it into a tab control. To do this I added the tab control&amp;nbsp;function around the code and sent it to the back&amp;nbsp;assuming that it would&amp;nbsp;either a) add the code to each tab but duplicate it much like the case structure does when duplicating cases or b) add it to the current tab selected when it was sent to the back.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I found was that the code was present of all tabs, not duplicated but the graphics were all messed up. To sort this it appears you have to select all the code you want in the tab, move it out of the tab structure then back in on the tab number you want. The duplication code that was present initially then disappears.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this how the tab control should function or is there a way to force the tab to act a certain way upon placing in on the vi?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mitch&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 07:55:32 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/VI-Pane-Colour/m-p/1673372#M596485</guid>
      <dc:creator>Mitch_Peplow</dc:creator>
      <dc:date>2011-08-17T07:55:32Z</dc:date>
    </item>
  </channel>
</rss>

