|
|||||||||||||
10-13-2010 01:24 PM
Hi All,
I have 2 quick questions but couldn't find it in the search, maybe I wasn't hitting the right keyword. Anyway.
1. How do I move the label "Interval" back to center and have it stays at center at all time?
2. Is there a way to programmically change the panel background color?
Thanks
Solved! Go to Solution.
10-13-2010 01:37 PM
Hi lavalava,
point 2 is easy:
Open a reference of the panel, wire it to a property node and select "Color"...
10-13-2010 02:25 PM
Gerd,
Where do I find that option cuz I don't see it? I get an empty array too:
Could I please get a screen shot or vi saved as 8.6 from you? Screen shot is easier. Thanks
10-13-2010 02:39 PM
Hi lavalava,
sorry, I just used LV7.1 to verify my suggestion.
Starting with LV8 you have to use the panes. The first pane will (most likely) be your panel and exhibits your color setting...
10-13-2010 02:46 PM - edited 10-13-2010 02:49 PM
Gerd,
I did dugged through Pane[] too but couldn't locate BG Color setting anywhere. Decos[] was only place that lets me set BG color but it keeps returning null array so I wasn't able to set it. I'm sure it must be hiding somewhere, where could it be...
10-13-2010 02:56 PM
Hi lavalava,
panels/panes don't have a BG color - they only have a "color" property. Can you tell me the difference of foreground and background for the pane(l)?
10-13-2010 03:54 PM
If you right click on the scrollbar of the Front Panel you can Right-Click->Create Property Node->Pane Color. You will get a single property node nicely linked to the proper pane.
10-13-2010 08:13 PM
Okay #2 was answered. Thanks, Darin.
So how about my question #1, is there a way to move "interval" back to center without creating a new graph? I kept running into this problem so creating new graph everytime isn't a good practice. There has got to be a way to prevent LV from doing that.
10-13-2010 11:17 PM
If you want to keep that label centered you can use the following:
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page