How to access the checkbox in mx:list

I'm trying to access check boxes in my list

< mx:List itemRenderer = "mx.controls.CheckBox" x = "0" y = "153" id = "listVocab" height = "297" width = "313" > < / mx:List > "

but I can't find a way. That's what I do

for (var i: int = 0; i < listVocab.numChildren; i ++)
{

If (I want to access the box here to see if she checked and then create the below but I don't know how to access the boxes?)

{

This gives me access to the text, but

var password: String = listVocab.dataProvider [i] m:System.NET.SocketAddress.ToString ();

}
}

Problem is with dataProvider your assignment to dataGrid is of type array of strings, which is why its saying selected there is no property to the string.

Code given above by will work me for collection arrayCollection whose objects are of the following type instead of simple strings:

public class CustomClass
{

public var data:String; Here id, you can store
label public var:String; here Word you can store
        public var selected: Boolean;
}

You can make the change to

public class CustomVocabulary
{
public var sentence: String;
public var type: String;
public var dbId:String;
public var words: ArrayCollection collection; This will contain objects of type CustomClass.
}

Tags: Flex

Similar Questions

  • How to access the files from google docs?

    Hello

    can someone tell me how to access the mp3 files saved on google docs.

    as I am able to recover google docs docs files.

               connection = (HttpConnection) Connector.open("http://docs.google.com/feeds/documents/private/full/-/document");
                connection.setRequestMethod(HttpConnection.GET);
                connection.setRequestProperty("Authorization", auth);
                connection.setRequestProperty("Content-type","application/atom+xml");
    

    but the mp3 files do not appear in the xml only doc files are listed?

    any idea how to get mp3 files?

    Thankx

    @Sannyo: agree with you.

    I also saw that. This is only the docs.

    ------------------------------------------------------------------------------------
    Kudo press to say thank you to the developer.
    Also, press accept it as a button when you got the Solution.

  • How to access the info in my iCloud account

    How to access the info in my iCloud account?

    You can access much of the iCloud.com on a computer or through specific applications on your mobile device such as contacts, calendars, iCloud Drive, Photos. What exactly you were looking for and what type of device.

  • How to access the bios?

    I am trying to install a new OS, how to access the bios on my HP Pavilian dv8?

    Hello:

    You should be able to access the BIOS by pressing the F10 key as soon as you see the HP welcome screen.

    Paul

  • How to access the BIOS on a Pavilion Elite e9237c with mouse and keyboard wireless?

    I have a desktop computer Pavilion Elite e9237 with a wireless keyboard and mouse. I tried to access the BIOS by pressing F10 at startup with no luck, and I can't access any of the other menus for the start-up eiither. I don't have a PS/2 port on my computer, so I can't get a wired keyboard and mouse. Does anyone know how to access the BIOS with this configuration?

    I bought a USB keyboard and he answered in the same way... No bios access. I then studied why it did not work and discovered that it was the way in which he has been connected to the computer. I had initially plugged into a USB hub when he was not working and I moved it directly into a USB port and it works! I plugged my keyboard wireless directly into the USB port and it works too! Thanks for your help... I wouldn't have thought of it if it wasn't for to recommend you the USB keyboard.

  • How to access the firefox on laptop Office keeping all the features?

    How to access the firefox on laptop Office keeping all tabs and bookmarks?

    Hello

    You may be able to do this in Firefox Sync configuration on both devices. Please see for detailed instructions.

  • Qosmio G30-126 - how to access the bios!

    I have a laptop Qosmio G30-126 and I don't know the key to enter the bios to change real estate for the HARD drive or something... then how to access the bios? What is the key for the bios?

    Hello

    Try pressing the F2 key by turning on the device.
    The Toshiba notebooks supported the ESC and then F1 button
    If these two options are possible

  • Re: How to access the BIOS on Satellite Pro A120

    Can someone tell me how to access the BIOS on my SAT Pro A120?

    Hello

    You must press ESC and then F1 key immediately after the laptop has been powered!

    The laptop seems to be to use the Toshiba BIOS and ESC key should be the right one!

    Good bye

  • How to access the BIOS on Satellite A110-195 settings?

    How to access the BIOS settings (CPU, video memory ect). I have http://eu.computers.toshiba-europe.com/innovation/jsp/SUPPORTSECTION/discontinuedProductPage.do?service=EU&PRODUCT_ID=1 18639

    At the start when the Toshiba start screen appears press F2 repeatedly and you should be able to enter the BIOS settings.

  • How to access the BIOS on Satellite C50-A-1F

    Hey folk,

    A small question:

    How to access the BIOS of my laptop?

    I tried this method and f12, f1, f2 etc.

    Thanks in advance

    Have you ever tried to look for similar issues here in the forum?

    Check this one:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=76740

  • HP laptop - 15-ac121dx: how to access the ram on a 15-ac121dx modules

    I want to upgrade the ram in my HP laptop - 15-ac121dx and maybe the hard drive, but I can't understand how to access the ram. There is no access panel, and unlike some other models, it doesn't have a single lever in the battery bay to remove the cover.

    OK, I realized how down low on the laptop.  After watching some youtube videos I came across another HP laptop computer who had screws under the rubber feet and of course there are also screws under the back of two rubber feet, can't believe I didn't think to look under them.

    To get the background you need to:

    1. Remove all the screws on the bottom.  (Must be 12 total)
    2. Remove the drive from DVD (Yes it does not).
    3. Finally, carefully separate the case around the side.

    After that, you should have full access to the slots of RAM and hard drive.

  • How to access the BIOS on Satellite Pro A120

    Sorry for my English.
    But I need help:

    How to access the BIOS on my Satellite Pro A120

    Hello

    If I m not wrong not the Satellite ProA120 is supported by the Toshiba BIOS and so you should be able to access the BIOS pressing the * ESC * key immediately after starting the laptop

  • Re: Satellite Pro L450D - 12 X - how to access the recovery partition?

    Hello

    I've formatted Windows 7 with a Windows XP CD but did not setup. I wanted to know how to access the recovery partition to set it by default, everything exists on the laptop right now is Ubuntu, but I don't know, I saw an additional partition that must contain recovery files as laptop did not come with a recovery disk and unfortunately did not create a filter.

    How can I access the recovery partition on the laptop having in mind, I formatted the drive Windows 7 was installed on or should I activate or something like that?

    Any help much appreciated

    Hey,.

    On the second partition of your laptop (data partition), you will find a folder named HDDrecovery and it contains recovery files. The problem is that you can use the HARD drive only with the pre-installed operating system recovery feature. It would mean in your case it s too late now and it s not in use anymore.

    You have created the Toshiba recovery disc as mentioned in the user manual? If Yes, you can use this disk to restore to factory settings. Just boot from this CD and follow the instructions on the screen.

    If you don t have the recovery disc, you can order it here:
    https://backupmedia.Toshiba.EU/landing.aspx

  • How to access the BIOS on Satellite L670-134

    Hello

    I need to access the BIOS, but I don't know the key combination.
    Tried F1 F2 DEL Backspace etc that none worked.
    I think I activated an option such as quick start once before... when I turn on the laptop I see not all postscreen, the screen remains black after turning on the laptop, and then the windows logo appears.

    So, how to access the BIOS!

    Hello

    Usually, you can access the BIOS by pressing the "F2" immediately after that the laptop was turned on!
    Try this once more. Alternatively, you can press F2 repeatedly to be sure that this has been accepted.

    Also try key INS all by turning on the laptop and then F2

  • How to access the health application on an iPhone 4 running iOS 9.2 s?

    How to access the health application on an iPhone 4 running iOS 9.2 s?

    The icon is missing?

Maybe you are looking for