How to disable a linkbar component?

I have a bar of links with multiple items click on... It is not related to a view stack.

Here is my code:
var myArray:ArrayCollection = new ArrayCollection () collection;
myArray.addItem ({label: "Test1", myIcon:iconSymbol1});})
myArray.addItem ({label: "Test2", myIcon:iconSymbol1});})
MylinkBar.dataProvider = myArray;

How would disable the first element?

The only way I was able to do that is with the following code:

var point: LinkButton = MyLinkBar.getChildAt (0) as LinkButton;
If (point)
Item.Enabled = bool;

Tags: Flex

Similar Questions

  • How to disable NICs for Windows XP?

    Dear Madam:

    I have a desktop of Microsoft Windows XP Home Edition Version 2002 Service Pack 3.

    How to disable the network adapters in Windows XP?

    It's a very good idea to stop Windows XP to connect to Internet automatically due to the end of support for Windows XP?

    Please reply back soon.

    Thank you.

    First of all you could just pull the Ethernet cable if this is a wired adapter. Or remove details of the wireless network, if this is a wireless adapter.

    Some adapters may be disabled via the BIOS setup, in which case they won't be even visible by Windows as the available material. These adapters adapters "embarked", i.e. the Ethernet cable plugs into a socket on the motherboard I/o Panel not the socket on a separate component card snap.

    Expansion card can be deleted without problem after power off, unplug the power cord and anti-static precautions.

    Alternatively, you can...

    • Click Start
    • Click on run
    • Type ncpa.cpl, and then press ENTER.

    In the window that results, you can click with the right button on Ethernet adapters (wired or wireless) and then click on disable.

    Tricky

  • How to disable BCSSync

    I want to disable BCSSync. I can't seem to find anything in the Services that I recognize for this or I have to delete fromk, run key in the registry?

    James

    Hi JamesJoey,

    • What is the reason for the deactivation of BCSSync on the computer?

    BCSSync.exe is part of SharePoint Server 2010 which is part of the suite Microsoft Office 2010.

    BCSSync.exe is responsible for providing data synchronization and auto-refresh of the cache with SharePoint. If you don't use SharePoint or you won't be sync cached data, you can disable this element initially upwards. It is not recommended to delete the file as it is a component of Office 2010 and removing may cause Microsoft Office 2010 to fail.

    This is the location of the file on the computer.

    %ProgramFiles%\Microsoft Office\Office14\BCSSync.exe

     

    See the article to see how to disable startup on computer items.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

  • How to disable the search feature in inputComboboxListOfValues

    Hello

    I'm working on Jdeveloper version 11.1.1.6.0. I use the component 'inputComboboxListOfValues '.

    How to disable the search feature in inputComboboxListOfValues?

    Frank Nimphius-Oracle

    I saw a topic archived for even where you replied on

    AF | {inputComboboxListOfValues::search}

    visibility: hidden

    }


    But when I use it, I'm getting some unknown pseudo class look in the css source file while pasting your code.

    Pls help.


    Thank you

    Hey, Timo,.

    Found the solution,

    LOV > UI advice > list Searh > include the search box > select No research

    Search link will be disabled in the drop-down list box drop-down list

    Thank you

  • Disable drag for component adf

    Hello

    How to disable drag for adf component (for example, panelBox).

    After panelBox is displayed in the user interface, if we put the cursor on the header of the Panel and select, then drag to a different location in the same window, it allows. So I would like to disable this feature. can anyone suggest?

    Thank you

    ASIS

    delete

  • How to disable UIComponents programmatically

    Dear all

    my page contains a f: panelForm that contains 25 UIComponents with inside.

    <af:panelFormLayout id="pfl1" binding="#{templateBean.dataForm}">
                    <af:inputText value="#{bindings.Id.inputValue}" label="#{bindings.Id.hints.label}"
                                  required="#{bindings.Id.hints.mandatory}" columns="#{bindings.Id.hints.displayWidth}"
                                  maximumLength="#{bindings.Id.hints.precision}" shortDesc="#{bindings.Id.hints.tooltip}"
                                  id="it1">
                        <f:validator binding="#{bindings.Id.validator}"/>
                        <af:convertNumber groupingUsed="false" pattern="#{bindings.Id.format}"/>
                    </af:inputText>
                    <af:selectOneChoice value="#{bindings.ReplacedEmpId.inputValue}" label="#{bindings.ReplacedEmpId.label}"
                                        required="#{bindings.ReplacedEmpId.hints.mandatory}"
                                        shortDesc="#{bindings.ReplacedEmpId.hints.tooltip}" id="soc1">
                        <f:selectItems value="#{bindings.ReplacedEmpId.items}" id="si1"/>
                        <f:validator binding="#{bindings.ReplacedEmpId.validator}"/>
                    </af:selectOneChoice>
                    <af:selectOneChoice value="#{bindings.ManagerId.inputValue}" label="#{bindings.ManagerId.label}"
                                        required="#{bindings.ManagerId.hints.mandatory}"
                                        shortDesc="#{bindings.ManagerId.hints.tooltip}" id="soc2">
                        <f:selectItems value="#{bindings.ManagerId.items}" id="si2"/>
                        <f:validator binding="#{bindings.ManagerId.validator}"/>
                    </af:selectOneChoice>
    ......
    </af::panelFormLayout>
    

    af: panelForm is linked to an attribute of the managed bean called 'dataForm '.

    In the model of my page, I have a button called 'submit '. This button calls a method that needs to turn off all the components in this panelForm

     public void submitActionListener(ActionEvent actionEvent) {
            List<UIComponent> components =getDataForm().getChildren();
            int count = components.size();
            for (int i = 0; i < count; i++) {
               String compId=components.get(i).getId();
               String renderType =components.get(i).getRendererType();
    // I want to disable the current UIComponent here
    }
    }
    

    I want to disable the UI component, but I don't know how.

    There is no setDisable method. Only setRender available.

    How can I do that. and is there another solution for this problem

    Thank you

    Try to convert the UIComponent to the real class, for ex RichInputText.

    you will then have a function for ex setEditable.

    Kind regards.

  • How to disable the adf with advanced search button

    Hello

    How to disable the advanced search button or Basic in adf af:query

    -sevanan

    User, please tell us your jdev version!

    To do this, you use the property modeChangeVisible of the af:query component.

    Timo

  • How to disable the right click option resize on the table column header?

    Hi all

    Please let us know how to disable the right click option resize on the table column header.

    The problem is that when I right click on the header of the column, the column is selected and the context menu with options like type, resize columns, columns, etc... is popping. We want to disable the option of re-size column.

    We create a link by program the values in the table (do not use Bc4J) and the version of Jdeveloper's 11.1.2.2

    Thanks in advance,

    -Vignesh S.

    So who did not observe here is that the table is wrapped in a panelCollection and who is in fact source menu.  However, the content of the context menu can be controlled through the featuresOff of the panelCollection component attribute

  • How to disable location under the privacy services? My switch is freezed help kindly

    How to disable location under the privacy services? My switch is freezed help kindly

    Try disabling "Find my iPhone" in iCloud settings first.

  • How to disable the SOS on Apple Watch 2 function

    How to disable the SOS on Apple Watch 2 function?

    Hello

    It is not currently possible to completely disable the SOS emergency feature.

    However, to disable "hold to call auto":

    • On your iPhone, in the application of the watch, go to: Watch My > General > emergency SOS - deactivate Hold to call self.
  • How to disable the feature CALL SOS?

    I've just updated to iOS 10 and 3 watch OS, but I can't find how to disable the feature of emergency SOS on my Apple Watch.

    I thought it would be a good feature for me so I turned it on, but my fingers are clumsy, so I struck the wrong cursor when I turned off my watch and accidentally, I called 911. I've disabled "Stick to Auto Call" and deleted all my contacts SOS in general in the application to watch on my iPhone and I restarted the iPhone and the Apple Watch, but emergency SOS still shows on my watch when I want to turn off my watch.

    I think that before I turned emergency SOS, I saw "Power Reserve" under the "Power Off". I read that once you turn Hold for Auto call in the app shows and then turn off, the cursor of SOS emergency will always be displayed when you turn off the watch.

    How can I disable the cursor of emergency SOS when I turn off my Apple Watch? Can I use Reset under general, or désapparier my watch and pair again? I don't want to do that, because it would take a lot of time to get all my settings that I want them to be.

    Hello

    I'm not aware of any option settings to remove the emergency SOS cursor in the menu that appears on pressing them and holding the button.

    If you want Apple to consider adding an option to disable the feature, you can submit a request here:

    https://www.Apple.com/feedback/watch.html

  • How to disable the photo?

    How to disable the photo?

    Not easy - just ignore it

    LN

  • How to disable permanently the spell check in Notes

    How to disable permanently the spell check in Notes?

    Here are my steps:

    1. With the help of Notes in OS X 10.11.5, click Edit/spelling and grammar and then clearly the 2 options "check spelling as you type" and "automatically correct spelling."
    2. Close and re - open Notes.

    What I expected:

    only the two options "check spelling as you type" and "automatically correct spelling" is always disabled when Notes is reopened

    In fact:

    the two options "check spelling as you type" and "automatically correct spelling" is enabled once more

    Spell check in Notes for a reason any seems particularly disruptive and unnecessary. Any way to turn it off permanently?

    System text/keyboard/preferences and uncheck automatically correct spelling.

  • How to disable alerts in shared calendars?

    Hi all

    My question is this: is it possible (and if so, how) to disable alerts on changes in a calendar shared on ios 9?

    Calendar sharing 'A' from mac to iphone to my wife, and whenever I change something in an event it receives an alert on the screen of her phone, with the sound.

    Is there a way to remove the notifications on every single events change?

    Thanks for your help

    Hi bart,.

    I understand that you want to disable specific notifications on the iPhone of your wife? You can certainly take the control whose opinions are given on your iOS device.

    To change notifications for that agenda shared so that an alert is not indicated for each change made to the calendar on your wife's iPhone, go to settings > Notifications > calendar > calendar changes. You can then select the option to "None" so that no alert is displayed on his phone when there is a change to the shared calendar. The this link below will also be you become familiar with the different settings that you can use to adjust your alerts specifically to your liking!

    Use the Notifications on your iPhone, iPad and iPod touch

    Thank you for using communities of Apple Support.

    Have a great day.

  • I don't have a message to tell me the image my takes up screen is set to full screen. How to disable the who and the fade slow when he goes to fs?

    In Firefox 42

    When a site like youtube when I make the video fullscreen it just melted slow useless when it does. And then tells me that it is full screen. I know that it is full screen for two reasons. One, I hit the button fullscreen. Two, the video takes up my entire screen. The message point. Use the fade. How can I disable them?

    To disable the fade, you can change these preferences of the topic: config page.

    • full-screen - api .transition - duration.enter: "0 0".
    • full-screen - api .transition - duration.leave: "0 0".

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

    I do not know how to disable the warning, but it might be possible to hide this message with code to userChrome.css or elegant.
    This message is displayed for security reasons because a malicious script can switch to full screen mode and take over the entire window without noticing you (i.e. show a fake office).

Maybe you are looking for

  • Mini and monitors = mystery

    Bought the new Mini in March (3.0 ghz, 16 RAM). Connected to two Dell UltraSharp 24 "monitors connected through CDM (Thunderbolt) > HDMI on the monitors. Immediate problem: random scrambled color on one of the monitors when Mini woke up from his slee

  • Entry in the array constant of gray

    I have a constant matrix 3 elements I want to remove the 3rd element and gray outside, so it looks like this Can't find one good way to do it other than remake the table in its entirety. It is very good when the table has only a few items, but when i

  • Where's Encoding menu in Notepad in Vista?

    Notepad 6.0 (Build 6002: Service Pack SP2)from 64-bit Windows Vista Edition Home Premium SP2 Whenever I try to save a file that I just created, I get this error message: Notebook C:\Users\Bobby\Documents\html files\xmarks-04-09 - 2011 has .txtThis fi

  • MyNetwork disappered of icon in the taskbar

    Why my internet icon went away in my taskbar

  • Activate? My hard drive was erased, do I have to buy a new product key?

    MY computer has caught the virus from defender 2010 Windows and if my hard drive has been erased. Do I have to buy a new product key or y at - it a way to get my old one back? Thank you