03-20-2006 03:36 PM - edited 03-20-2006 03:36 PM
Message Edited by Dynamik on 03-20-2006 03:36 PM
03-20-2006 03:38 PM
You probably have a dialog tab control...you cannot change the colors of any of the objects on the System palette. Try dropping a tab control from the Containers palette, you should be able to change its colors.
-D
03-20-2006 03:45 PM
Hi Darren,
Thanks for quick reply!
I (re) selected the TabControl from containers, still no (apparent) effect.
?
03-20-2006 03:49 PM
03-20-2006 04:02 PM
Thanks tst!
Changed TabControl property to AllowMultipleColors ran VI. page-color changed...
... and LabVIEW promptly crashed!
You guys probably already know this, but page-captions can be changed at run-time too (IndependentLabel = True).
Thanks/Cheers
03-20-2006 04:23 PM
"
ran VI. page-color changed...
... and LabVIEW promptly crashed!
"
Yikes!
I think I reported a bug back in LV 6.1 that LV would crash if I changed the color of a tab that was not visable. If you conditionally set the color on only pages that are visable does it still crash?
Ben
03-20-2006 05:22 PM
Hi Ben,
Saw your post and re-created VI several times, tested color-change with tab-selected/un-selected, tried to follow same steps - unable to reproduce crash.
Plan to incorporate tab-page-colors in test app. will follow-up (here) if problem recurs.
BTW, thanks for tip! - that work-around could [still] be very valuable.
03-20-2006 05:26 PM
"tab-selected/un-selected"
It was for hidden pages. You can right-click and hide the page. It shows up in the "visable" property of the page.
Ben
03-20-2006 05:39 PM - edited 03-20-2006 05:39 PM
Yes it is still in LV 7.1.
This VI illustrates what you need to re-create this crash.
Make at least one tab hidden and set the "Crash?" boolean to true to crash.
If someone will confirm this on their machine, I'll post it the the Bug Thread.
Ben
Message Edited by Ben on 03-20-200605:41 PM
03-20-2006 05:46 PM
You're right - I misunderstood your post, and my app uses the "PageVis" attribute. But crash occurred on Untitled VI with brand-new TabControl, though there were other VIs open - several with reference controls and maybe one reference-to-reference control. I've noticed LabVIEW get a bit temperamental in this environment.