Remove a tab in a TabNavigator if there isn't a html file

I created a component that contains a TabNavigator. This component will open in a TitleWindow when a user clicks on an item in a list (list of survey points). There are two possible tabs in the TabNavigator: the first tab contains a text control and the second contains a control VideoDisplay (playing a flv that exists on a server). The text tab displays always, but the point does not have an flv file that is associated with. I don't want the second tab to see if the flv file does not exist on the server. Here are most of the code (leaving a portion of the variable and functions):

Currently, the task pane opens with the visible video tab for each of the points. But when I click on the video tab itself, if the flv file does not exist, the tab will disappear. How this code so that the tab will not be displayed when the component opens? FinishInitialize code does not remove the tab as I thought it would be.

Try to set the creationPolicy to all

Tags: Flex

Similar Questions

  • How to permanently remove a tab called 'new tab' but is a blank Page?

    Whenever I turn on my computer, I click on my Firefox icon in the taskbar in low, BUT, not only does my homepage tab appear, but lately I have been see another tab appears beside it, called 'New tab' but it is empty. I did not how he showed all of a sudden upward, but I can't seem to get rid of it. I right click and 'close tab', but I have to do everytime I turn on my computer. Is there a way to permanently remove this tab so it isn't keep appearing on my tab bar?

    Jonie says: "whenever I turn on my computer... not only my Home Page tab is displayed, but lately I have been see another tab appears beside it, called 'new tab' '

    When involuntary tabs open when Firefox starts, shows generally that you must check your Firefox home page settings. Firefox can open multiple homepages which are separated by a "|" keyboard characters in the field Options > general > Home Page. Your home page as shown with the information provided with your question is

    That ' | ' at the end is causing your second tab called 'New tab' to open. Remove the "|" at the end of the homepage layout.

  • Function to remove a tab

    Hello

    I have the following comparison in a select statement:

    where username = ' COMPUTERV1$ '.

    I does not return me anything.

    If I change to the select statement, it works:

    where username like ' % COMPUTERV1$ ".

    I see the length of the field account_name I 13, this means that there are two bullies but, if I use the TRIM function I don't get to remove the two white. I guess I have a tab.
    My question is, how do I remove a tab from a string?

    Thanks in advance.
    Kind regards.
    yourstring := replace(yourstring, chr(9));
    
  • How to remove souvenirs tab pictures 10 iOS app?

    How to remove the tab from the Photos app in iOS 10 memories, because with memories tab, it's a big mess in my Photos app. I can't use my Photos normally because of this tab. I like facial recognition, but I don't want memories tab in my Photos app. I have movies app for that. A way to remove the memories tab? Thank you.

    Flanua wrote:

    A way to remove the memories tab? Thank you.

    N °

    Submit your Apple asking this feature here:

    http://www.Apple.com/feedback

  • How can I remove the tabs on top in v 33.1

    I just did a restore firefox action because I got a message from firefox says that could accelerate to the top of my browser. After having done that, he missed to put my tabs on top. I love the tabs on top and really to change this setting. I read in a forum that I need to change the setting in all: config. However, I don't see the referenced parameter tabsontop which was referenced. Ho can I remove the tabs on top?

    Bonus question: I've always liked to have a description of the icons in the available menu bar. that is the Home icon displays not only a home, but the text "Home" as well.

    Thanks in advance for any help!

    Hello

    I think you had the Classic theme restaurateur extension which is used to bring back the old design. Learn more here: How to make the new look of Firefox as the old Firefox

  • How can I remove my tab? they say I can't open anything else, until I have delete my tabs.

    Remove my tabs

    See the article using the tabs of Firefox for Android to do many things, including the closure of the tabs in the app.

  • How to remove a tab?

    to remove a tab "since the last time" of my pg home android Firefox but can't seem to do

    Press "menu/home" on your device and completely end to the application. Then re-open the browser. Otherwise, try to clear your history before completing the application.

  • Is it possible to completely disable tabs (remove all tab options menu) for firefox 10?

    Is it possible to completely disable tabs (remove all tab options menu) for firefox 10. I hate the tabs and the recent changes made to the incorrect selection of menus are "open in a new tab" when what I want is "open in a new window" a common and unwelcome occurrence.

    You can hide menu items and move up / down in the menu with the Menu Editor extension.

    https://addons.Mozilla.org/en-us/Firefox/addon/710

  • I just upgraded to FF 3 FF9 and in the process lost my 'New tab' button, and there isn't one in the view > customization window. So, how manually open a new tab in FF9?

    Question
    I just upgraded to FF 3 FF9 and in the process lost my 'New tab' button, and there isn't one in the view > customization window. So, how manually open a new tab in FF9?

    To open the window to customize the toolbar, do one of the following:

    • Firefox button > Options > toolbars
    • Press ALT or F10 to temporarily show the Menu bar and choose from there (view > toolbars > customize)
    • Hold DOWN the ALT key while pressing the VTC keyboard letters

    See-> https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36

    Regarding the new button tab, you see the end a '+' after the last tab or the right of the tab bar? This is the icon of the new tab.

    • CTRL + T will open a new tab

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • How to remove the tabs I've done in FireFox 4 (not the AP tabs) but regular TABS? I am in TEARS. Help, please!

    I love Fire Fox. I downloaded the latest version: Fire Fox (4). I became crazy adding tabs at the top of my browser (like 20 different tabs). If was a huge mistake... and now it of so slow... and crashes constantly. I should have stuck with bookmarks instead... or only a few tabs... like 2 or 3. Now I want to remove the tabs, I did... but can't figure out how. It should be as simple as right click... Remove the tab... or as easy to create tabs was... but it's not. Help, please. Mm69

    Any chance that you define the many tabs as your 'home page' opens automatically when you start Firefox?

    Reduce the tabs in closing those that you do not want, then click on Tools / Options / general and click the use current Pages button.

    Next time you open, you will see only those active tabs.

  • Open link in a new tab function when Middle-click there just disappeared.

    Hello! Open link in a new tab function when Middle-click there just disappeared; now, when I Middle - click on the link, nothing happens - no new tab, just nothing! It comes not with a mouse, I tried another mouse and it's average click and even in other browsers works; Right click and 'Open link in a new tab' (as well as other options menu) to work correctly. No idea what happened? Thank you!

    You can have an add-on which interferes with middle-click behavior. To test this try the procedure described in article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

  • remove the tabs on wordpad

    Been for decades I typed anything.  But, now, I don't remember how to remove the tabs when you use wordpad.  It is a simple problem, but help!  I need to set and reset tabs in my new line of 'work at home' and I'm completely stumped!  It is 20 so 60 is much closer to 80!

    It seems that you must define tabs in each document.  Here is a guide provided by Microsoft which will give you more help:

    http://Windows.Microsoft.com/en-us/Windows-Vista/formatting-text-in-WordPad

    Please, click on "Thumbs Up +" if I helped you and click "Accept as Solution" If your problem is resolved.

  • I am trying to perform a static check on the model. When I double click the model and go to the tab control... There is nothing to select in the knowledge module. I want to use CKM here... but nothing appearing in the drop-down menu. The global KMs are no

    I am trying to perform a static check on the model. When I double click the model and go to the tab control... There is nothing to select in the knowledge module. I want to use CKM here... but nothing appearing in the drop-down menu. The global not supposed to KMs the listed here?

    Hello

    You have imported the whole CKM in modules of knowledge?

    If not, import ckm and do it.

    Kind regards

    Gangareddy.k

  • How to remove a tab in the menu accordion?

    I have a page that I created for my Web site, which offers a menu accordion on that.  Initially, I created the menu in Dreamweaver CS4 using the Spry Accordion Widget, then transferred this code to the page of the site.  The words in the menu, I use images for each dropdown tab menu.  I'm trying to remove the last tab in the menu, but every time I do my entire menu no longer functions and the tabs, when you click on it, is no longer fall down.

    http://www.tocico.org/?page=2015_workshop_test

    Above is the link to the page I'm working on.  The last tab of the menu called OCD (over the button register now) thought processes.  All I want to do is remove this tab, but when I do, everything on the menu no longer works.

    Please let me know if you need anything else from me.

    Nevermind, I was able to understand.  After that I had deleted lines 631-644 the code had changed for some reason any.

    CHANGED TO THIS:


    TO DO THIS:

    //

    []] >

    It turns out that I was just missing the code at the end.  Thanks for your help!

  • How to resize tabs, Bar Menu and Bookmarks Bar 36.0, no help file 'userChrome.css '?

    So, I lost my profile when updated FF and had to create a new. From what I can tell, to do what I want to do I need a Chrome folder inside the profile folder. There isn't, so I created one. I also have a .css file named exactly how I put it in the title, this is the correct name, or 'user' is my profile name?

    Last but not least, here is the exact text I have in the file, nothing more, or less, just that:

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #TabsToolbar { height: 15px !important; }
    #PersonalToolbar {height: 4px !important;}
    #BookmarksToolbar {height: 4px !important;}
    #MenuToolbar {height: 4px !important;}
    #tabbrowser-tabs { height: 15px !important; }
    #TabsToolbar { margin-top:-15px!important; }

    Saved the file. Restarted FF, no effect. Numbers changed, still no effect.

    TIA for help.

    PS there is probably some redundancy for sure, please advise. I want all 3 in the smaller thread title (as in the least height)

    You can use negative margins to extend these bar to fill the height of the Navigation bar.

    #urlbar-container,#search-container {margin-top:-1px!important; margin-bottom:0xp!important}

    The large back button adds more at the height of the Navigation toolbar and you need to adjust the padding of his image to reduce its height.

    #urlbar-container #back-button {margin-top:1px!important; margin-bottom:0px!important}
    #urlbar-container #back-button image {padding:3px 3px !important}

Maybe you are looking for