LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX container visibility problem

I am having problems with container visibility on a tab when the tab is made invisible. I have made a demo program to change tabs with and see how visibility behavior is affected based on which tab-page is visible at the time. I know there is a work around by programmatically changing to a different tab before setting visibility false.
0 Kudos
Message 1 of 4
(2,728 Views)
Hi,

Actually, if you set the visibility of the ActiveX container to be the same as that of the Visibility boolean, the program seems to work correctly.

Go ahead and take a look at the modified example I've attached. Also, I slightly modified the way the stop button was being handled (I included it as a case in the event structure, which is generally the way NI recommends the use of the Stop button in event structures).

Hopefully this program will now work as expected. Thanks! 🙂

Kileen C.
Applications Engineer
National Instruments

NI Week 2004 is here!!
0 Kudos
Message 2 of 4
(2,728 Views)
Ok that works too. It is still a problem or inconsistency with LabVIEW though which should be corrected--when the visibility attribute is set to false for a given tab control LabVIEW should automatically set the visibility for the entire array of controls, indicators and decorations that are on that page.
0 Kudos
Message 3 of 4
(2,728 Views)
I agree wholeheartedly. The visibility issue with the tab controls and embedded objects has actually already been filed as a software bug that is targeted to be fixed in future versions of LabVIEW. Tab controls are still a relatively new feature that were released in LabVIEW 6 so some of the kinks are still being ironed out.

Thanks again!

Kileen C.
National Instruments
0 Kudos
Message 4 of 4
(2,728 Views)