Can't update display list

Hallo, i need a little help. I have a list and i need to set the actual selection to null... I think the way is
this.myList.selectedIndex = -1;
or
this.myList.selectedItem = null;
Right??.. But the display doesn't update cause i still see that element selected. I tried with invalidateDisplayList but it doesn't work.
Thx
Max

extension of the adobe list example
<?xml version="1.0"?>
<!-- Simple example to demonstrate the Spark List component -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
    <fx:Script>
        <![CDATA[
            import spark.events.IndexChangeEvent;
            //this function is called when the selection is going to change
            private function selectionChangingHandler(evt:IndexChangeEvent):void {
                var item:* = list.dataProvider.getItemAt(evt.newIndex);
                if (item.type != "employee") {
                    evt.preventDefault();
            private function resetList():void
                list.selectedIndex = -1;
        ]]>
    </fx:Script>
    <s:Panel title="Spark List Component Example"
             width="75%" height="75%"
             horizontalCenter="0" verticalCenter="0">
        <s:VGroup left="20" right="20" top="20" bottom="20">
            <s:Label width="330"
                     text="Select a name to see employee's phone number. You should not be able to select the first name."/>
            <s:List id="list" changing="selectionChangingHandler(event);">
                <!-- itemRenderer is inline in this sample -->
                <s:itemRenderer>
                    <fx:Component>
                        <s:ItemRenderer>
                            <s:states>
                                <s:State name="normal" />
                                <s:State name="hovered" />
                                <s:State name="selected" />
                            </s:states>
                            <s:Rect left="0" right="0" top="0" bottom="0">
                                <s:fill>
                                    <s:SolidColor color="0x999999" alpha="0" alpha.hovered="0.2"
                                                  alpha.selected="0.6" />
                                </s:fill>
                            </s:Rect>
                            <s:Label id="nameLabel" text="{data.lastName}, {data.firstName}" top="5" left="5" right="5" />
                            <s:Label y="20" id="phoneLabel" text="{data.phone}" includeIn="selected" top="25" bottom="5" left="5" right="5" />
                        </s:ItemRenderer>
                    </fx:Component>
                </s:itemRenderer>
                <s:dataProvider>
                    <s:ArrayList>
                        <fx:Object type="hr" firstName="Ann"  lastName="Green"  />
                        <fx:Object type="employee" firstName="Tom"  lastName="Smith" phone="415-155-1212" />
                        <fx:Object type="employee" firstName="John" lastName="Black" phone="408-344-1234" />
                        <fx:Object type="employee" firstName="Jane" lastName="White" phone="415-235-7878" />
                        <fx:Object type="employee" firstName="Bill" lastName="Jones" phone="415-875-7800" />
                    </s:ArrayList>
                </s:dataProvider>
            </s:List>
            <s:Button label="reset" click="resetList()"/>
        </s:VGroup>
    </s:Panel>
</s:Application>

Similar Messages

  • Can't update display driver on my Satellite Pro C660

    Hi, I've got a Satellite Pro C660-2DN, and I'm trying to update my display driver through the Toshiba UK website as Intel refers me to Toshiba when I do their driver assessment thing.
    I've downloaded the three latest display driver updates that I can find in the list that corresponds to the C660 but none of them will install - the temp files are extracted, but then nothing happens. Could anyone help me?
    Thanks.

    Hi
    You can also use the driver from Intel page.
    Download the Intel driver, then extract the package to a folder created on the desktop.
    Then go to device manager, choose graphic card and click on update.
    Now you should use the advanced installation procedure which would allow you to pick up the driver from the folder created on the desktop.
    The Windows should pick up the new driver and the update should go on.

  • OWA 2013 Can't Update groups list

    Home » Email
    See moreRELATED
    PROJECTS
    Novell
    to Microsoft Migration
    In one corner: Novell 4.11, eDirectory, Groupwise, Oracle 8/8i, NT4 In the other: Windows Server 2000/2003, Active Directory Exchange 2000/2003, SQL Server 2000, XP Winner: Our users.
    Total
    Virtualization
    I lead a project to virtualize all 12 of our current servers onto 2 physical hosts using VMware vCenter Server and setting up VM backups with Veeam.
    Mimecast
    Mail Filtering
    Moving off of an antiquated Postini system to the new Mimecast platform.
    1
    Sonora
    OWA 2013 Can't Update groups
    Wrathyimp Feb
    9, 2014 at 12:19 PM | MICROSOFT
    EXCHANGE
    Hi,
    I am receiving the following error, while tring to update Distribution list from OWA 2013:
    "The group can't be updated right now. Please try again later"
     I have searched, but the discussion are mentioning the possibility of old Distribution List migrated from Old Exchange 2003. But I am still getting this error for newly created Distribution List also.
    According to this technet discussion, its an bug, but its old like in August 2013, URL:
    http://social.technet.microsoft.com/Forums/exchange/en-US/50937049-f919-4ce3-be21-24fdef2c7695/
    http://social.technet.microsoft.com/Forums/exchange/en-US/cdd6f7ae-1b61-4d94-a57e-80c6711d09ce/ews-contactgroup-cant-edit-from-owa
    So is it being fixed or is there any workaround to it.

    I have Outlook 2007. Any Groups Created from Outlook is not editable, though I an create a new group (distribution list) on the OWA, which can be editable.
    So What I feel is something with Outlook 2007.

  • Sharepoint Foundation Can not update External List by Work Flow

    Hi
    I try to update External List by other list Work Flow, in Sharepoint 2010 Foundation.
    Here is the manual: 
    http://msdn.microsoft.com/en-us/library/office/ff394479(v=office.14).aspx
    But it fails , and the error message is “The
    workflow could not update the item in the external data source. Make sure the user has permissions to access the external data source and update items.”
    Is there some limited in Foundation?

    http://social.technet.microsoft.com/Forums/en-US/0bb9ef28-3614-4db2-b19f-dd81e8cc2d42/the-workflow-could-not-update-the-item-in-the-external-data-source?forum=sharepointgeneralprevious
    With no Secure Store in Sharepoint what we ended up doing was creating a new external content type, adding a new connection and picking a connection type of .net type instead of sql.  This means we needed to create a .net app as the go between but within
    .net we had all the usual tools for connecting to sql without permission issues.
    Also check
    http://wyldesharepoint.blogspot.in/2010/06/setting-up-external-content-type-for.html
    If this helped you resolve your issue, please mark it Answered

  • Qosmio X300-14N - BSOD if I play games and can't update display driver

    Hi every one,
    I bought a Qosmio X300-14N last week in France.
    But every time I try to play a game ---almost every game--- I got a nmlddmkm problem with a "video driver has stopped responding and has been recovered" message
    I try to update my display driver, but any one I found on the Nv site cannot be installed. Even the link from the Toshiba support.
    Then I thought this could be a temperature problem, I download a Nvidia system monitor and try to check the problem, but this made it even worse, every time I double clicked the monitor short cut leads me to a Blue Screen...
    I am now completely mad with this computer. Hoping some one can help?
    By the way Im using Vista 64
    this is my system
    Processor: Intel(R) Core(TM)2 Quad CPU Q9000 @ 2.00GHz (4 CPUs), ~2.0GHz
    Memory: 4gb ram
    graohic card:2*geforce9800m gts 512mb

    If you haven't done so search Google, Yahoo, etc- the exact error message your seeing. This problem isn't unique to Toshiba, but more so seems to be an issue directly with Nvidia. I have tried all the canned responses, download this, update that and patch everything I could find. Still, the issue still exisits. After about 9mths of off and on problems, at the advice of Toshiba I dropped it off at the local certified repair center. They worked on the thing for 3-4wks and were unable to repair. They went as far as to replace the video card, and mainboard.
    After receiveing my un-fixed Qosmio from the repair center I called Toshiba- they informed me that I would have to send it directly to them as to be evaluated by one of there engineers. Basically the answer at this point is don't waste your time on it- ship it directly to them.

  • Custom Component Not Updating Display List

    Hi all... I've created a component which is basically a meter (extends skinnable container). The skin to the component contains two rectangles (background and the actual meter).  This component receives an arraycollection with the following fields value, max and min(the arraycollection I am passing is Bindable). When I initialize and pass the data to be used to draw It works great (keep in mind - only works the first time).  I've created a button that changes the data array and shows the current meter value.  Apparently the meter's value is changing everytime I modify the ArrayCollection I've set to be used for rendering.(dont want to say "dataProvider" because it is not a Flex dataprovider, just a variable )... here is the code...
       public class meter extends SkinnableContainer {
            [SkinPart( required = "true" )]
            public var meter:spark.primitives.Rect;
            [SkinPart( required = "true" )]
            public var meterBackground:spark.primitives.Rect;
            private var _dataProvider:ArrayCollection;
            private var _renderDirty:Boolean = false;
            public function Meter() {
                super();
            public function set dataProvider( value:Object ):void {
                if ( value )
                    if(value is ArrayCollection)
                           _renderDirty = true;
                        _dataProvider = value as ArrayCollection;
                    if(_dataProvider)
                        _dataProvider.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, propertyChanged);//used both eventlisteners but none actually ever fire off
                        _dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE,collectionChanged);
                    invalidateDisplayList();//only happens the first time
            private function collectionChanged(event:CollectionEvent):void
                Alert.show("In collection Change");//this never goes off when I change the "dataProvider"
                _renderDirty = true;
                invalidateDisplayList();
            private function propertyChanged(event:PropertyChangeEvent):void
                Alert.show("In property Change");//this never goes off when I change the "dataProvider"
                _renderDirty=true;
                 invalidateDisplayList();
            public function get dataProvider():Object {
                return _dataProvider;
            override protected function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void {
                if(_dataProvider))
                var span:Number = unscaledWidth / _dataProvider[0].max;
                var meterWidth:Number = _dataProvider[0].value * span;
                meter.width = meterWidth;
                _renderDirty = false;
    And this is the mxml code where I change the "value" field....
    <fx:Script>
    <![CDATA[
    [Bindable]
                private var meterData:ArrayCollection = new ArrayCollection([               
                    {value:80, max:100, min:0}
                protected function mySlider_changeHandler(event:Event):void
                    meterData[0].value = Math.round(mySlider.value)*10;               
                protected function button1_clickHandler(event:MouseEvent):void
                    // TODO Auto-generated method stub
                    var array:ArrayCollection = testMeter.dataProvider as ArrayCollection;
                    var value:Number = array[0].value as Number;
                    Alert.show(value.toString());
                   // testMeter.meter.width= Math.random()*100;
            ]]>//initial value in "meterData" does get drawn...but when it's changed with the slider..nothing happens..
           <custom:Meter id="testMeter" dataProvider="{meterData}" />
            <s:HSlider id="mySlider"
                       liveDragging="true"
                       dataTipPrecision="0"
                       change="mySlider_changeHandler(event)"
                       value="3"/>
            <s:Button click="button1_clickHandler(event)"/>
    Can you help me figure out what's going on??Thanks guys!!!

    Hi.
    Now there are some serious bugs in your code:
    Put a call to super.updateDisplayList(unscaledWidth, unscaledHeight) in your overriden method (or some funky things will start happening or it won't work at all).
    Why don't you check your _renderDirty flag in the updateDisplayList() method? You should do that (personally I would go with commitProperties() instead but it's not much of a difference I guess)
    And now the reason why your events don't fire is that because you use plain objects (just generic istances of Object). Those are not IEventDispatchers and therefore do not fire any events when you change any of the properties (which are all dynamic by the way). You have to define a custom value object class which extends the EventDispatcher (or you can implement IEventDispatcher on your own). So instead of this:[Bindable]
    private var meterData:ArrayCollection = new ArrayCollection([
       {value:80, max:100, min:0}
    You should do something like this:[Bindable]
    private var meterData:ArrayCollection = new ArrayCollection([
       new MyValueObject(80, 100, 0)
    Where MyValueObject could look like this:// this instructs MXML compiler to automaticly implement IEventDispatcher
    // and make all public properties bindable
    [Bindable]
    public class MyValueObject
       public function MyValueObject(value:Number, max:Number, min:Number) {
          this.value = value;
          this.max = max;
          this.min = min;
       public var value:Number;
       public var max:Number;
       public var min:Number;

  • Update display panel from last nvidia driver with MSI VGA OC display ...

    Hello,
    I have a MSI NX7600GS under windows XP and I've update the last nvidia driver for ...
    But I loose my original MSI VGA OC display tweaking panel in windows xp standard display panel ...
    How can I update display panel with MSI VGA OC display tweaking panel and the last nvidia driver ?
     ???

    Quote from: AaronYuri on 29-March-07, 23:19:28
    Easy. Manually update the drivers.
    Go:
    My Computer > Properties > Hardware tab > Device Manager > VGA card > Right click > Properties > Driver tab > Update driver find the folder with the ForceWare driver > Click OK. Your done.
    You'll have to extract the drivers out of the .exe that they come in firstly mind.
    I want to keep my latest downloaded nvidia drivers and add official MSI OC tweaking in windows xp display panel, so ... you asked me to find the folder with the ForceWare driver : last (from nvidia) or previous (from MSI's CD driver) ?
    And how can I extact the drivers out of the .exe without launching install procedure ?
    Thanks ... 

  • I need to make a list of 700  dvds that can be updated alphabetically as I attain new ones. I'm new at computers, bought an iMac (with Lion). What application or software will do this for me the easiest?

    I need to make list of 700+ dvds that can be updated alphabetically as I attain more. I'm new at computers, lbought an iMac (with Lion). What application or software will do this for me the easiest?

    Yes, the ColorPicker would be great, except as far as I can tell there's no way to assign names to the colors in my custom data provider. The user needs to know the name of the color (eg. P01 - Wisteria), but the ColorPicker only shows the hex values. Unless there's a way to change that?
    Repasting the two code chunks from above, which didn't display properly:
    Works, but doesn't show swatches:
    TileList.addEventListener(Event.CHANGE, changeColor);
    var colorBox:ColorTransform = new ColorTransform();
    function changeColor(e:Event):void{  
       colorBox.color = tileList.selectedItem.data;
       box_mc.transform.colorTransform = colorBox; }
    Shows swatches, but doesn't work:
    var aBoxes:Array = new Array(); var i:uint = 0;
    var printColorHex:Array = new Array(0xfac9c2, 0xFF0000, 0x0000CC, 0x00CC00, 0xFFFF00);
    var printColorNames:Array = new Array("R-01 Pale Coral", "Cranberry", "Sky", "Forest", "July");
    var dpPrintColors:DataProvider = new DataProvider();
    for(i=0; i < printColorHex.length; i++) {
         aBoxes[i] = new MovieClip();
         drawBox(aBoxes[i], printColorHex[i]);    // draw box w next color in array
         dpPrintColors.addItem( {label:printColorNames[i], source:aBoxes[i]} );
    aTl.dataProvider = dpPrintColors;
    function drawBox(box:MovieClip,color:uint):void {
                 box.graphics.beginFill(color, 1.0);
                 box.graphics.drawRect(0, 0, 140, 60);
                 box.graphics.endFill();       

  • HP Officejet 4255 driver for Windows 7, 32 bit. Not in pull up list or OS(can't update)

    HP Officejet 4255 driver for Windows 7, 32 bit.
    Driver is not in pull up list and not in OS(can't update OS basic). Almost all series are listed but 4200 series is missing. 
    After upgrade to Windows 7, it has become a problem. Some solution should be given.
    Can someone help?
    Regards,
    Raul

    Ok, I found in the Net the drive 7uw706ww.zip, which is Version 6.1.4.2, while the updated version is 6.1.10.5 (7UW708WW).
    I tried again the GPS, and it wasn't working.
    Anyway, before downgrading, I tried to reinstall the new driver, downloading and installing the .exe instead going through System Update.
    Result: now GPS is working (same place, same conditions, just 5 minutes later)!
    Don't know where the difference is...
    600, R52, T61p, X301

  • In the topmost Firefox menu with File,Edit,View,History,Bookmarks, I can not get the list of bookmarks to display as they did before. The Bookmarks menu does not open up into the list of bookmarks.

    I am running Mac os 10.6.8 and Firefox 6.0.1 on a MacBook Pro and on a desktop Macintosh.
    The large computer displays a list of bookmarks when you click on the uppermost Bookmarks menu.
    The MacBook Pro displays the following when you click on the Bookmarks word in the top menu:
    "Show all Bookmarks, Bookmark this Page, Bookmark all Tabs and an icon with a blue dot next to Bookmarks Toolbar with an arrow to the right and below that it says Unsorted Bookmarks.
    There is no display of the list of bookmarks from which I can chose as I do on the larger desktop macintosh computer.
    How can I get the list of bookmarks to show as a list when I click the Bookmarks menu?

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    You can also try to move (delete) the Firefox plist file.<br />
    See [http://www.macfixit.com/article.php?story=20060606082246983 How .plist files become corrupt and troubleshooting the results]
    Go to "Library > Preferences" and remove the plist file for Firefox (org.mozilla.firefox.plist).

  • MY LIST OF 'DEVICES' ON 'FINDER' HAS 'TURNED OFF' ( does not display list and does not show as bright)  AND I CAN'T SEE MY LIST OF DEVICES (TO EJECT A DISK, OR ADD A FILE TO A DISK) ETC)??

    my list of 'devices' on 'FINDER' has 'turned off.  gone to not (bright ) does not display backup disks or I- pad etc.  I can't see my list to eject a disk or copy a file to I-Pad etc???
    Also how would I un-zip a file I have downloaded to "download" and then copy it to a disk??

    Hold down OPTION COMMAND and click S
    Regards,
    Captfred

  • HT1338 how can i update to latest display driver

    how can i update to latest display driver i hv mini mac with i5 8gb

    by purchasing it from the app store.

  • Air Display can't update

    Does anyone know why this is happening? I use an app called Air Display on my iPad to use as an extra monitor for my iMac, and the Host can't update. I've had no problems in the past on Mountain Lion, but since upgrading to Mavericks, I can't update. Whenever it says there is an update available and I try to install it, the below screenshot happens:
    Despite it saying "the new version will be available next time you run Air Display Host" it's still the old version. And it keeps asking me to update, which I can't. I've done reboots, full shut downs, etc. and I can't get it to work.

    Hi. Sorry about that! We had a bad updater a couple of months ago. You just need to go to our website and download the host software afresh. Just point your browser to avatron.com/d to download.
    Cheers,
    Dave at Avatron

  • Can images be displayed in a Select List ?

    Hi,
    I was wondering if it is possible to display images in a select list.
    For example to display status colors like "red", "green" and "yellow" so that
    the user can click the select list and select the item by its color.
    I would then return a number or a varchar2 (e.g. 'red', 'green' and 'yellow) in
    the LOV.
    In addition I need that select list on a form.
    I tried something with a static select like this:
    STATIC:[<img src="#WORKSPACE_IMAGES#red.gif">];[1],[<img src="#WORKSPACE_IMAGES#green.gif">];[2],[<img src="#WORKSPACE_IMAGES#yellow.gif">];[3]
    But it did not work. Instead of the numbers I would/could use also a varchar2 as mentioned.
    Is that possible somehow?
    Thank you very much.
    Johnny

    HI Marcello,
    yes, I know that possibility. I even use images myself in reports.
    I tried to do it the same way.
    Something like:
    STATIC:wwv_flow_file_mgr.get_file?p_security_group_id=22705712812657001&p_fname=1.gif;1,#APP_IMAGES#2.gif;2
    But both of the ways do not work.Always the text "wwv_flow_file_mgr.get_file?p_security_group_id=22705712812657001&p_fname=1.gif" itself is being displayed. :-(
    Nevertheless...thank you Marcello.
    Johnny

  • As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 also how we can insert,update,delete records in list using ECMA script.

    As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script.
    Thanks and Regards, Rangnath Mali

    Hi,
    According to your post, my understanding is that you want to use JavaScript to work with SharePoint list.
    To create list items, we can create a ListItemCreationInformation object, set its properties, and pass it as parameter to the addItem(parameters) function
    of the List object.
    To set list item properties, we can use a column indexer to make an assignment, and call the update() function so that changes will take effect when you callexecuteQueryAsync(succeededCallback,
    failedCallback). 
    And to delete a list item, call the deleteObject() function on the object. 
    There is an MSDN article about the details steps of this topic, you can have a look at it.
    How to: Create, Update, and Delete List Items Using JavaScript
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • How to send an array of values to stored procedures in java

    can anyone tell me how ican send a two dimensional array of string values can be send to a data base at one go. actually i am a java developer and the technolgies i am using are servlets and java data base connectivity(JDBC). the oracle developer wit

  • I just paid to be able to convert pdf to word but get the message password protected.

    I have just paid to be able to convert pdf to word but get the message file is password protected. Have I wasted my money or is there a solution?

  • Same content gets printed in copies

    Hi , I am trying to print one original and 2 copies for a PO form. There are few texts specific to the copies. I am using copies window to achieve this. All these are getting displayed correclty in the spool request. When I take the hardcopy/print th

  • Open With in Bridge?

    I am not able to open Psd files from Bridge into CS6? Under Open with... no option available for photoshop...only Firefox or Picture Viewer... Is there something wrong with my program? I am able to open files from MB, just not Bridge itself.

  • Quicktime in Tiger package won't run

    I upgraded from system 9.1 to Tiger and both Quick time and iDVD won't run. A red exclamation point error message appears saying that these applications are not supported. Any suggestions? I also increased the memory and still nothing works.