Facing problem in the CLICK event of the PANEL

Hello
Am facing a problem with the event click on the PANEL.

During the click event try to change the background color of this one.
Inside this group got many components such as DATAGRID, LIST etc, when I click on these components and alsoo bottom panel is changed.
I want the background of the Panel must be changed when I click PANEL only... not on its internal components...

How to do this... code used to change BG is give below...

tempPanel.addEventListener (MouseEvent.CLICK, changeBG);

public void changeBG(event:MouseEvent):void
{
this.styleName = "selectedPanel"; some CSS style
}

Hey get...

event.currentTarget.drawFocus (true);

This will help to draw the border for the selected component...

Tags: Flex

Similar Questions

  • I am facing problem in the use of applications of windows8. I am not able to use even a single App. What shoulg do. ?

    I am facing problem in the use of applications of windows8. I am not able to use even a single App. What shoulg do. ?

    Hi Shubham,

    You receive an error message when you try to use the Apps in Windows 8?

    Exactly how have you connected to the computer (Microsoft Account or Local account)?

    follow these steps to solve the app suggested you nuisance.

    Method 1:

    Run applications troubleshooting

    I suggest you to download and run the troubleshooter modern UI App.

    http://download.Microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab

    Method 2:

    I suggest you follow the steps in the article. Here is the link for your reference.

    What to do if you have problems with a soft

    http://Windows.Microsoft.com/en-GB/Windows-8/what-troubleshoot-problems-app

    Method 3:

    I suggest that you check the proxy settings because if you use the Proxy Server, then the Apps in Windows 8 will not work.

     

    a. click on thegear box in the upper right corner in Internet Explorer.

    b. click onTools and then click Internet Options.

    c. click on theConnections tab, and then click LAN settings.

    d. Uncheckuse a proxy server for your LAN .

    e. clickOk.

    Hope the helps of information provided.

  • I work in InDesign CS5 and have a problem with the panels on the right. Some of them are empty. Ideas?

    I work in InDesign CS5 and have a problem with the panels on the right. the panels color chart, paragraph styles, and totally blank menus link. I pulled upward from publications that I already worked on and they are still virgins. I tried to load styles from other pubs, ID, and that does not work either. I can see them when I go to create a new style and use BASED on function.

    Any ideas?

    Try to restore your InDesign preferences. Here's how:

    FAQ: How to reset or 'trash' preferences?

  • Facing problem in the recording of data without overlapping in loop for

    Hello

    I am facing problem in writing data withou overlap if I run the outer loop for the 2 times or more, and inside the loop, I make table in a way that I want to, but when I try to compile this table with record temperature I am not able to do. Please guide me through ths.

    Thank you

    Hnagpal

    Himanshu salvation,

    To start reading your matrix of the second line, you can use a table of Index function once you have loaded the table of your spreadsheet file. The function Array Index lie in the range of functions under functions > programming > Board Index. The help of LabView is very useful to explain how to use this function.

    With regard to the accuracy of the numbers when read you the spreadsheet file that you read is formatted in fractional chain, since form you it converted into a mixed string before saving. In order to recover all the precision, read the worksheet as a string and then convert it to a string using a string Fract/Exp to fractional numbers conversion function. This feature is on the range of functions for String > String/Number Conversion > Fract/Exp string in number. The help of LabView is also very useful for explaining the operation of this function.

    Best,

    Dan Nelson

    Technical sales engineer

  • Facing problems during the installation of windows 7 201 err0r

    I'm trying to install the trial of lightroom and facing problems 201 error

    Help creating cloud / cloud creative applications download error

    http://helpx.Adobe.com/creative-cloud/KB/error-downloading-CC-apps.html

  • Problems with the panels at startup

    Sometimes all the panels (palettes) when I run the application InDesign open as a single panel with dozens of tabs.

    This means that I have to re - sort all the panels, with some of them closed, some of them in the dock and other open (Floating (planer).

    Does anyone else have this problem?

    What are the causes and there at - it an easy way to get results to display correctly?

    I suspect that it is a default preference, but I'm not sure.

    CS3 incidentally.

    Yes, it usually comes to the top as you left it... at least, for me, it was good for years. Never known of problems like yours, but if it happens, I think, personal workspace is a way forward. At least, you can restore your panels easily, with a single click. As far as I know, there is no other settings in the preferences or anywhere else on this topic.

  • Guys have a problem with the Panel, whenever I have open application in there, says Windows cannot find rundll32.exe I can do...?

    I tried the following things...
    Tried the expand command given in your site... nothing happened... a cmd windows opened and closed...
    Then, I tried to expand the file to another drive and tried to copy in the system32 folder... Access denied.
    I tried to use the command line to copy the file into the sytem32 folder... problem of the soul again. Access denied...
    I found a copy in the file $ $ntservicepackinstall or the Dllcache folder...
    Then I tried the repair option by using the... used xp CD and tried to unzip the file in the system32 folder, nothing happened...
    I started with a linux distribution, tried copying the file...
    Miracle I found it in the system32 folder...
    So I rebooted using Windows XP and searched for the file but I can't find...
    Help me please...
    I'm just a learner...

    It's me aruldd...
    It is myself...
    It was due to a software called 'lock folder xp', just now uninstalled, rebooted and wow the pc works fine...
    Thank you...
    Kind regards
    Aruldd

  • Problems with the Panel tabs with CS5, CC2014, CC2015?

    I created a script with TabbedPanel in ESTK CC, works very well in afx CC 2014, but it seems that there are some problems with the other versions (CS5 and CC2015).

    Can someone help how to generalize the limits and the tabs?

    Here is my Code briefly for the tabs.

    //

    //

    //

    function buildUI (thisObj) {}

    var myPanel = (thisObj instanceof Panel)? thisObj: new window ('pallet', 'Gear of Stress', undefined, {resizable: true});

    myPanel.timeSavers = myPanel.add ('tabbedpanel', [0,0,400,300], "Reducing Stress V1'");

    myPanel.timeSavers.cProject_tab = myPanel.timeSavers.add ("tab", undefined, 'Project');

    myPanel.timeSavers.MyTools_tab = myPanel.timeSavers.add ('tab', undefined, 'MyTools');

    myPanel.timeSavers.Explorer = myPanel.timeSavers.add ("tab", undefined, 'Explore');

    myPanel.timeSavers.Others_tab = myPanel.timeSavers.add ("tab", undefined, "Install");

    Return myPanel;

    }

    var myToolsPanel = buildUI (this);

    //

    //

    //

    Below the results to remain CS5, CC2014, CC2015. How to promote the universalization of the buttons, tabs, alignments etc as in CC2014 in other versions. Someone please help?

    afx cs5.pngafx cc 2014.pngafx cc 2015.png

    Don't you think that the resource string could solve this problem?

    You can certainly try a resource string. I used only once I understood how they worked, I find it much easier to build a UI in this way.

    myPanel.layout.layout (true);  Tried it, but all child elements arranged in a line or column that's it, do not respect the limits specified.

    To a resource string, make sure that every single container element specified margins or spacing info. If they do not have this set the automatic layout manager will just default to each calibration of control internal specifications, which vary with each version of AE.

    How can I universalize the user interface for all versions of EI? While I'll change once and for all.

    There is no miracle solution for all versions of AE to play nice with your construction. You to beta-test your code in each version of the EA you want your script to run on and then unique questions individually. Your script should contain a checker version AE, so you can know what patches, you need to implement when the user runs the script. It is not ideal and is one of the many oddities of software development based on the API of someone else.

  • Facing problem in the multiple selection list...

    Hi Andy,.

    We are facing a problem more...

    In the selection of the Menu... Like u given a solution for dropdownlist hide which works very well... but the same logic does not work for the multiple selection list item. Why so...


    David...

    Published by: David on November 17, 2008 05:22

    Hello

    If you have added in the Page template, then the P39_BATES_DESCRIPTION will not work. As the P63_ATTRIBUTE_CLASS_CODE is not on the page, javascript will throw an error and that will stop the rest of the code to run.

    You can get javascript to test for the existence of a question of fact:

    if ($x('P63_ATTRIBUTE_CLASS_CODE')) {$x('P63_ATTRIBUTE_CLASS_CODE').style.display = 'none';}
    if ($x('P63_ATTRIBUTE_TYPE')) {$x('P63_ATTRIBUTE_TYPE').style.display = 'none';}
    if ($x('P39_BATES_DESCRIPTION')) {$x('P39_BATES_DESCRIPTION').style.display = 'none';}
    

    Andy

  • Facing problems in the Plugins

    Hi Phonegap Support,

    I use phonegap-facebook-plugin and cordova-plugin-camera. Last

    low, the plugin has stopped to install on the phonegap build. I see these

    Errors

    http://prntscr.com/c073t2 and http://prntscr.com/c2zihi

    When I try to install it.

    I use the latest versions. Still it gives me error and I am not able

    to run my entire application right now because of this error.

    Any help would be appreciated.

    Thanks in advance,

    Rahul

    --

    Supplied solutions

    www.softweavertech.com

    Facebook: www.facebook.com/SoftweaverTech

    Here is an example of the problem:

    You should:

    -use the syntax without: namespace of the gap

    See Plugins | PhoneGap Docs

    -get the plugins of NPM, not the repo of obsolete bmp

    Correct would be:

    (NGP is used as a default value)

    BTW:

    - :

    Version-1 does not exist. While others often suggest to pin the real version, I'd rather do not to specify a version at all.

    -For iPad, you must include the statusbar plugin, otherwise it will not scale well.

    -

    You must use the qualifier attribute, not density

    In addition, xxhdpi and xxxhdpi are missing

  • Satellite U400 - problems with the Panel, the touch and media keys

    Hello, I have the TOSHIBA Satellite U400. Everything's a lot but I have some concerns.

    1. the touch screen (media buttons on the top of the keyboard - mute-media-play/pause-stop-rewind-forward-) turn
    the computer running if you touch! How to stop that from happening? I only need to use the POWER button.
    Start button / stop is sufficient.

    2. press MUTE on the touchscreen, no its not really "mute" or "disable." Instead, she don't
    is the Tower the White Glow Light for all Touch Panel ON and OFF (including the word "SATELLITE").
    How can I make it works?

    3. When you connect to Windows, I can choose between the password or RECOGNITION of FACES. How do I
    Assign the FACIAL RECOGNITION only without having to choose it?

    Thank you

    SAL :)

    Hello Sal

    I played around with this stuff and here is my opinion on this subject.

    (1) as far as I know there is nothing strange. I noticed the same thing on notebooks too. For example, if you want to listen to music, you can simply press PLAYER button (3rd from left) and begins at will for laptop and open windows media player. If you want to go on the internet you can simply press INTERNET ((deuxieme button on the left). Laptop will be put into construction and Internet Explore will be open.
    So there is nothing strange, and even get on my Satellite P200 and brand-new Satellite A300.
    To be honest I don't know if this can be disabled. I'll ask a friend of mine. It is monster of Toshiba and maybe he knows more about it. But this behavior is certainly not strange.

    If you want to use only the power button and then press power button to start. Do not touch the other.

    (2) Please check s operating manuals and look for info on this button. AFAIK it is clearly written Mute or LED on / off depending on the model you purchased, press this button to mute the sound or turn on or off the illumination of the logo of the brand, touchpad and buttons.
    So please do not mix anything. This button has no two options. On your model, you can disable illumination only. It is the same on my laptop. So there is nothing wrong with your laptop.

    (3) you also misunderstood this feature. If face recognition is activated the two options will be displayed. If you do not want to enter a password you can use the option of face recognition. But what you will do if for some reason your face may not be identified correctly. How you want to connect?

    So, please don't be irritated by these things, everything is OK.

  • ThinkPad X 230 Windows 7-64: problems with the screen after updates

    Hi all

    I have a problem with the Thinkpad X 230. After a recent update of Windows 7 (64-bit), the screen resolution is set to 800 x 600 and brightness to the minimum. FN + F8/F9 does not work. The brightness is uncontrolled. I had to restore the system before the update.

    How to solve the problem, do anyone know?

    Thank you!

    Isosik

    Hi Isosik,

    Welcome to Lenovo Community!

    According to the request, we understand that you are facing problem with the display resolution on your ThinkPad X 230.

    If you have updated the drivers from Windows update, sometimes this kind of problem occurs with windows generic drivers for cause of driver incompatibility, suggest always update drivers only via the ThinkVantage System Update utility. Update only the application of Microsoft Windows Update.

    You can also manually download the drivers from the Lenovo support site.

    Lenovo support site.

    I hope this helps.

    Best regards

    Agnes Kumar

  • problem with the stream

    Hello

    I am facing problem in the understanding of data flow in labview. I use loop within two for the while loop, but my program ends in infinite loops.

    I have attached my VI below.

    I will appreciate for your help

    How do you know if you have endless loops?

    In box 2 of your flat sequence structure, I see a while loop that will run as fast as possible until I = 359, 360, so iterations.

    In part 3, the another while loop which runs at 360 iterations.   It is within an iteration 64 For and within another 64 loop iteration loop For.  I don't see anything that could cause infinite loops.  As if the loop will run a total iterations fo 64 x 64 x 360, 1 474 560.  It of a lot, but is certainly not infinite.  I don't know how long the code will have to run, but I don't see anything here which is particularly time-consuming.

    I suggest you put flags on all of your nodes of iteration and confirm that loops are run infinite times.

  • I just did a check of norton power Eraser which revealed that I have a problem with the file ntsd.exe.

    original title: problem with file ntsd.exe

    I just did a check of norton power Eraser which revealed that I have a problem with the file ntsd.exe. Does anyone have suggestions about what to do to fix it? Thank you very much.

    Hi JohnABuckley,

    • Are you facing any problem on the computer?

    Ntsd.exe is a process belonging to the Microsoft symbolic debugger that lets you debug applications in user mode.

    As the link below, it says that there is a risk that Norton Power Eraser can select some legitimate programs for removal. You should carefully review the analysis results page before deleting the files. I suggest that you don't delete the file unless you are facing problems with the computer.

    https://www-secure.Symantec.com/Norton-support/JSP/help-solutions.jsp?LG=English&CT=us&docid=20100824120155EN&product=home&version=1&PVID=f-home

  • Could get a new router block printing? We had a lot of problems with the computer in the last week and a half. Bought new router and now the printer does not print. :-(

    (1) we went to DirecTV. Then the same day, our internet computer is down. I asked our current provider, Suddenlink, to let them know we had them to another - but we wanted to keep for the internet.

    (2) called DirecTV to investigate why our internet went down at the same time they installed? They said that they did nothing to cause that. We waited 5 days to make out and also install the third TV that was promised. The second tech gave things a lookover and said, once again, that there is nothing unusual during their passage to cause the problem.

    (3) called Suddenlink. They said it was the router. Called the people of Netgear. They said that the router was too old. We needed to pay an exorbitant sum for support and when I told him I'd rather just buy a new router and get free technical support for 90 days... and I personally do not have the credit cards in that time. (it's my mother s equip and I wonder it for the computer) when the guy told me that he could help and hung up on us, even though I was pleading for him to wait until I put my mother on the phone. (I'm in my 40s... not a kid).

    (4) Suddenlink called a few days later, when we got a new router (netgear brand NO!) Installed and I noticed that the 'ready' light was not 'on' on the modem. Their technology has said that he would check and call us in a few minutes. He did not.

    (5) the next day I called Suddenlink AGAIN. This time, I got a really nice customer service agent. She said she would send someone to check on it. It turns out that they had disconnected when I had called to pass only the TV.

    (6) in any case, we are finally online... only now... I can't the printer to work. :-(  This has worked before.  Could it be caused by the different router? I don't know about these things. I didn't even know what it was until someone at Radio Shack has explained to me. (I was not about to buy one at Wal-Mart - these poor people). The printer is a Canon Pixma MX340. We love him. The only thing is that it is difficult to clear the tasks or to reset. The only way to really do that is to simply pull the plug, unfortunately and restart the computer. But hey, it's a great printer, better than HP.

    We are under vista. The router is a Linksys wifi (which we have) N300 model E900.

    Of course I appreciate any help you can give. God bless you!

    Michelle and Ruth.

    Hello

    Thanks for posting in the Microsoft Community.

    I understand that you are facing problems with the printer in Windows Vista.

    I imagine the inconvenience that you are experiencing. I will definitely help you with this.

    Please follow the steps in the link.

    Solve printer problems

    http://Windows.Microsoft.com/en-in/Windows/printer-problems-in-Windows-help#fix-printer-problems=Windows-Vista&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

Maybe you are looking for