When does the horizontalScrollBar get created on a List?

When does the horizontalScrollBar get created on a List?
The scroller is created, but the scrollbar isn't created yet and I get an error:
I have a spark List:
<s:List id="list" creationComplete="creationCompleteHandler(event)">
        <s:layout>
            <s:HorizontalLayout  />
        </s:layout>
</s:List>
private function creationCompleteHandler(event:FlexEvent):void {
     (event.currentTarget as List).scroller.addEventListener( FlexEvent.UPDATE_COMPLETE, onScrollerComplete );
// these don't trigger anything!
//    (event.currentTarget as List).scroller.addEventListener(FlexEvent.CREATION_COMPLETE , onScrollerComplete );
//    (event.currentTarget as List).scroller.addEventListener(Event.ADDED_TO_STAGE , onScrollerComplete );
private function onScrollerComplete(event:Event):void {
     // horizontalScrollBar still null at this point - how can I use it?   
     // I want to set the style, but it's not created yet!
     // event.currentTarget.scroller.horizontalScrollBar.setStyle("repeatInterval", 600);

I just realized that
this.setIconImage(new ImageIcon("image.jpg").getImage())
did not create the icon for my saved files.
So what did create it? I did not program it!
However, I happen to have an icon file Ananya.ico where I have my java project. I use if for my installation file. Did Java use this icon?
Please help! Thanks!

Similar Messages

  • When does the JSP get regenerated!!

    Hi,
    Can anyone please tell me When does the JSP get regenerated!!
    Thanks in advance
    SP
    [att1.html]

    Answered on interest.jsp
    (please don't cross post)
    mbg
    =============================================================
    "SP" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    Can anyone please tell me When does the JSP get regenerated!!
    Thanks in advance
    SP

  • When does the actual balance create in gl_balance table?

    Hi,
    I have question on gl_balance table. when does the actual balance create in gl_balance table?
    We are in Oct-11 period and I can see 'E' and 'B' balance data have been created in gl_balance table for future peiord, such as 'Nov-11' .. However, there is no data for 'A' period. Is that right?
    Thank you for your help!
    DeeDee Wu

    Octavio,
    Thank you for your response.
    Do you mean that ‘Actual’ balance for Nov. period will not be in there until Nov. period is opened and have some journals posted?
    Can you help me to understand following data?
    There is one code combination has been closed in 'May' and has Jun period data with last_updated_date = '28-Apr-2010'. Is that Jun data created at 28-Apr-2010 or copied from May data when Jun. period opened?
    CC period LAST_UPDATE_DATE period LAST_UPDATE_DATE period LAST_UPDATE_DATE
    838826 Apr-10 28-APR-10 May-10 28-APR-10 Jun-10 28-APR-10
    Thank you!
    DeeDee Wu

  • How does the icon get created for a saved file

    In my program I allow saving files using JFileChooser and ActionListener.
    In the constructor of the main class which extends JFrame I also set an icon by saying:
    this.setIconImage(new ImageIcon("image.jpg").getImage());
    This does not only set an icon on the title bar and the minimized window, it also creates an icon on my saved files. However, the image quality for the icon on my saved files is bad, even though the image quality for the other icons is ok. The size of the icon image I am providing is close to the size of the icon image on my saved files.
    How did the icon get created for my saved files? Is it possible to improve the image quality?
    Thanks for looking at this!

    I just realized that
    this.setIconImage(new ImageIcon("image.jpg").getImage())
    did not create the icon for my saved files.
    So what did create it? I did not program it!
    However, I happen to have an icon file Ananya.ico where I have my java project. I use if for my installation file. Did Java use this icon?
    Please help! Thanks!

  • Why does the text gets created in tomcat base directory?

    Hi friends,
    can anybody tell me when i create a text file abc.txt from my servlet from the application base
    c:\tomcat6\webapps\filterApplication\ ,
    the text file gets created in c:\tomcat6\abc.txt
    I want the text be created relative to the application i.e. c:\tomcat6\webapps\filterApplication\abc.txt , so that my
    code will be portable.
    In summary :
    file being created => c:\tomcat6\abc.txt
    expected location=> c:\tomcat6\webapps\filterApplication\abc.txt
    my file write code within my servlet:
    FileWriter fw = new FileWriter("abc.txt");
    fw.write("Some entry text here---");
    fw.close();
    thx.
    --Sujoy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    one query: if file is created relative to Java and Tomcat starts from bin directory, them
    file should have been created in c:\tomcat6\bin\abc.txt,
    NOT at c:\tomcat6\abc.txt
    Am I write?
    --Sujoy                                                                                                                                                                                                                                                                                                                                                                                                               

  • When does the uk get iTunes Radio?

    Does the UK have a date for iTunes Radio?

    Music industry still trying to carve the world up into discrete territories despite the fact that the internet is global.  If you want iTunes Radio now just create a US ID.  It's simple and works. 

  • Where and when does requisition id gets created when creating from MSS?

    My requirement is to have a custom logic on how to assign recruiters to a new requisition which is beeing created from MSS.  Once i fill out the form and send the form i get a ref nr for process. What i need is the requisition id as i want to create those recruiters in table HRP5131.
    So my question is: when and where is the requisition id beeing created?
    Any help will be appreciated.
    Thanks

    Hi Nahman,
    Check the following nodes
    SPRO--> Integration with other my sap.com components --> Business packages / Functional packages --> MSS (my SAP ERP) --> recruitement --> Define attributes for request scenario
    Select the recruiter logic type. You have an option to use custom logic also using a BADI. other than this there are 3 more options provided by standard sap.
    Hope this info helps. Let me know if u require further help on this
    Thanks
    G Raj

  • When does the ejb stubs created?

    I was told by my colleague that Oracle 10gAS will only generate EJB stubs during deploy time. Is it right?
    Or can we generate EJB jar with stubs using command mode and then deploy on the OEM console ?
    If tthe former is true, then where are teh generated stubs located?
    The Active EJB Methods column for my EJB are always showing as "Unavailable" ? Why is this and what could be wrong?
    Please reply

    Does it
    means that when timeout happened, a new client socket
    will be created and make remote calls to renew DGC
    leases?Yes.
    Again, about exporting remote objects on the same
    port, why I got the exceptions:
    java.rmi.server.ExportException: Port already in use:
    1234;
    nested exception is: java.net.BindException: Address
    already in use: JVM_BindYou get this if you try to export two servers on the same port but their server socket factories are not equal (or not both null or unspecified), or if the two ojbects are in separate JVMs (port sharing can only work inside a single JVM), or if the port is in use by some other listening process.
    Your MyRMIServerSocketFactory.equals() method looks OK to me, but I'd delete the hashCode() method, it's not necessary for RMI and your implementation is flawed. Personally I use the following equals() method:
    public boolean equals(Object that) { return that != null && that.getClass() == this.getClass(); }

  • When does the configuration get locked for changes in sales order?

    Hi Experts,
    I will really appreciate your help me in resolving this issue.
    Our client had sales order having BOM item with several sub items.
    Here we found that the user was not able to make changes to the Characterstic Value of one of the variant.
    The issue was the place where we change the characterstic  in sales order was greyed out, it was probably locked. Now even if they were unfrezing and trying to change the characteristic value the system did not allowed means greyed out.
    Can you please help me in understanding when do system locks the variants for a material in sales order, in what stage?
    Like maybe after the delivery document is created or PGI or some things else.
    since i see that the user here did delivered one of the item in the BOM subitem.
    Thanks
    Kaushik
    <Text removed by Moderator, please don't share your personal details on SCN post>
    Message was edited by: Jyoti Prakash

    Yes the characterstics were maintained for the main item.
    and the delivered item was a subitem for this main item.
    So characterstic were maintained for Item 10(Main item) but delivery was done for some of its sub item was item 100 / 120
    Also can i know where is this setting or configuration where we configure this to block the configuration if any of the subitem is delivered.
    Thanks
    Kaushik.

  • I am currently using Lightroom 5.6 and operating on a Mac with OSX Ver 10.9.5. I am receiving an error problem when doing the following -  I am exporting selected photos from a particular Catalogue saved on Drive 1 to a folder created on another Drive whe

    Hi, I am having a little trouble with exporting images to another drive and Catalogue and need some help if anyone can give me some advice
    I am currently using Lightroom 5.6 and operating on a Mac with OSX Ver 10.9.5.
    I am receiving an error problem when doing the following -
    I am exporting selected photos from a particular Catalogue saved on Drive 1 to a folder created on another Drive where a Lightroom Catalogue has been created. In this Catalogue I have arranged for the images once exported to be moved to a different folder - I used the Auto Import process under the File dialogue box.
    When processing the Export I receive an error message for each of the images being exported indicating the following -
    Heading Import Results
    Some import operations were not performed
    Could not move a file to requested location. (1)
    then a description of the image with file name
    Box Save As                                  Box  OK
    If I click the OK button to each image I can then go to the other Catalogue and all images are then transferred to the file as required.
    To click the OK button each time is time consuming, possibly I have missed an action or maybe you can advise an alternative method to save the time in actioning this process.
    Thanks if you can can help out.

    Thank You, but this is a gong show. Why is something that is so important to us all so very, very difficult to do?

  • Why when playing a film from iTunes through a digital av adapter on my ipad2 does the picture get pixelated

    Why when playing a film from iTunes through a digital av adapter on my ipad2 does the picture get pixelated

    iPad 3 does not have a lightning port, it's 30 pin.

  • How and When Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized

    How and When  Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized. Do the actual trigger lines get measured or does the attribute get initialized to a default value when the vxi resource manager is executed?

    Hey whl6868,
    According to page 157 (or 3-135) of the manual (http://www.ni.com/pdf/manuals/370132c.pdf), there is no default value for VI_ATTR_VXI_TRIG_STATUS.  If Resman is returning valid values for it, then it must be actually reading the lines.  Else, I would only expect it to return valid values when you actually call the function yourself.
    Regards,
    David R
    Applications Engineer
    National Instruments

  • Why when I e-mail a PDF form, does the recipient get a blank form?

    Why when I e-mail a PDF form, does the recipient get a blank form?

    Using Adobe to fill in. I think it may be my browser for e-mail will not support the forms. If I convert to Word or Exel, they send just fine.

  • HT5262 where does the information get stored when you back up your i-phone? It just reports its done but I have no idea where to find it if I need it again!

    Where does the information get stored when you sync/back up your i-phone. I have no idea where to look if I need it again!
    Thanks

    You can chhose the backup when you would reset your device. In this case you would get the option, during the set up process, to choose your backup and restore your device from it.
    (You can find a few information e.g. size and date of your backup in "Settings > iCloud > Storage & Backup > Manage Storage")

  • After downloading the IOS5 my phone gets stuck when doing the back up. What should I do?, After downloading the IOS5 my phone gets stuck when doing the back up. What should I do?

    My iphone gets stuck when doing the back up of the IOS 5. What should I do? Any ideas?

    I'm having the same issue on the 3Gs.  I get a message "an error occurred while backing up this phone (-43)."  It tells me if I continue the contents of the phone while be deleted.  Is it safe to continue and restore from my current backup?  I can do a manual backup without any issues. 

Maybe you are looking for

  • Acrobat 9.5.5 Windows 7 Page opens as a 3/4 page

    I cannot expand or minimize the page, the page is incomplete, and I cannot close the page without going to task bar.  When I click on Acrobat on the task bar, I then get one identical page over the other, again covering about 3/4 of the page.

  • Issue with crystal's currentdate variable

    Hi all, I am trying to fix an old report. Here is the issue...this report is supposed to print last months data based on a create date. It has ' create date in the period LastFullMonth ' in the record selection formula..but it is printing dec 2009 da

  • How to enable auditor in BO XI 3.1

    Hi Experts, I have BO XI 3.1 installed in Sun Solaris OS working fine. I want to enable auditor and use these features. How can i do it as i don't find document for BO XI3.1 auditor. Regards, Suresh

  • How to use typeswitch in osb xquery ?

    Hi all, I couldnt understand the syntax of the x query type switch used in osb.Can anybody kindly explain it or give links to examples. typeswitch (()) case $case-var as element(*) return () default () 1) what should be given inside the typeswitch ((

  • Blackberry Twitter beta on 8330 Curve

    Hello all, I attempted to download and install the new BB beta Twitter client.  Unfortunately, I received a message that my Curve 8330 doesn't meet the requirements?  Has anyone else experienced this? Thanks Solved! Go to Solution.