m3nth Posted September 25, 2004 Report Share Posted September 25, 2004 Just thought I'd post this for general knowledge... I ran into it awhile ago and NI knows it exists. If: There's an ActiveX container on a tab control The tab with the ActiveX container is selected (ie, the ActiveX container is visible) The Tab control visibility is set from True to False ...then the ActiveX container will remain visible instead of disappearing with the tab control. If: The tab control visibility is then set from False back to True The user changes to a different tab (ie, the ActiveX container is not visible) The tab control visibility is set from True to False ...then the ActiveX container will remain not visible. Possible workarounds include: Programmatically changing the active tab to a different page than the one with the ActiveX container before setting the tab visibility to false Setting the ActiveX container visibility to True/False in conjunction with the Tab control visibility Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.