Double-click event does not tire/triggered by double clicking on the left side of the tree node

I have the following tree of Flex

<mx:Tree id="Tree" left="0" right="0" top="0" bottom="0"
        
alternatingItemColors="[#EEEEEE, white]" dataProvider="{lsEspecie}"
        
dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" labelField="item"
        
labelFunction="tree_labelFunc" showRoot="false"
        
doubleClickEnabled="true" doubleClick="Tree_DoubleClick(event)">
</mx:Tree> 

When I double click on the ICON and to the right of the side on any node, double-click event is triggered as expected. But when clicking on any part of the left side of the node double click is not triggered

DoubleClickNotFiring.png

Is there a way to make the double click event fire when happens on the left side of the node?

The problem has been resolved with this class of FixedTree

import flash.display.InteractiveObject;
import flash.events.Event;

import mx.controls.Tree;
import mx.core.mx_internal;

use namespace mx_internal;

public class FixedTree extends Tree {

public function FixedTree() {
      super();
   }

override protected function createChildren():void {
      super.createChildren();

getListContentHolder().selectionLayer.addEventListener(Event.ADDED, selectionLayerChildAddedHandler);
   }

private function selectionLayerChildAddedHandler(e:Event):void {
      // ListBase:5790 creates a SpriteAsset for the selectionLayer but does not set mouseEnabled to false

InteractiveObject(e.target).mouseEnabled = false;
   }

}

Tags: Flex

Similar Questions

  • Grid itemDoubleClick event does not

    Hello

    I have a grid in which I want to use an itemdoubleclick event.
    But my itemdoubleclick event does not respond. Pls see my code below.
    Is there something wrong with it?

    THX

    Import mx.events.ListEvent;

    public void itemClickEvent(event:ListEvent):void {}
    varid = event.currentTarget.selectedItem.id;
    }


    < mx:DataGrid horizontalScrollPolicy = 'auto '.
    ID = 'grd' itemDoubleClick = "itemClickEvent (event); "color =" #000080 ">".
    < / mx:DataGrid >

    Hello

    You must set the property to true on your DataGrid doubleClickEnabled to receive double click events.


    ID = 'grd' itemDoubleClick = "itemClickEvent (event); «color = "#000080"»
    doubleClickEnabled = "true" >

    Deepa
    Flex SDK

  • Click right does not work with Firefox, which may be the problem is Firefox or my computer?

    Click right does not work with Firefox, which may be the problem is Firefox or my computer?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • value chain control event does not trigger change

    Hello

    I am trying to scan a barcode with a barcode usb HID scanner. I use a structure of the event to detect the change in the value of a control of the chain. When I scan the barcode, the chain control updates on the front panel, but the event does not fire until I left on my mouse on the front panel. can someone help? See attached vi

    Your barcodes are probably fixed length. When you get an event, check the length. If it corresponds to the length of the barcode, then process the data, otherwise wait for more characters.  This can be treated very quickly in the case of the event.

    Lynn

  • Cancel the registration of events does not not to change value

    Cancel the registration of events does not seem to prevent the change in value of firing event.

    I've attached an example of change that disables the mouse enter and exit events to include the value Change event.

    Document ID 4ATCBP1U

    http://digital.NI.com/public.nsf/allkb/E3E5E1B3021D8EFA8625730A0062F52D

    You use the standard event, not the dynamic one (note that the Boolean value does not have the <> ).

  • I want to add the sidebar gadget to my office. When I right click the option for the Gadgets does not appear. How can I complete the sidebar gadget?

    At the same time, I got the sidebar gadget on my desktop.  I removed all the gadgets, earlier, but now I want that they return once again.  The instructions say do a right-click on the desktop and select gadgets.  However, this option does not appear.  How can I complete the sidebar gadget?

    Go to: Start menu, all programs, accessories, Windows Sidebar.

    Or: Check Control Panel, Windows Sidebar Properties,: Start Sidebar when Windows starts.

  • APEX 5. Dynamic action on the CHANGE event does not work after applying the filter on IR.

    APEX 5.

    Dynamic action for the CHANGE event does not work after applying the filter on IR.

    Event: Change, selection Type: jQuery Selector, jQuery Selector: td [header = 'abc'] entry

    Real action

    Selection type: jQuery Selector, jQuery Selector: td [header = 'abc'] entry, Action: run the Javascript Code

    Is TI WHEREAS behavior?

    I know, I can work around this problem by using the Refresh event and javascript, but I prefer DA and if possible Change event.

    Concerning

    mdyla

    mdyla wrote:

    It is, how to force them reallocate dynamic Action in the event of CHANGE of the input elements after refresh of IR region.

    Set the dynamic scope of the event action to Dynamics.

  • When I click on the menu option 'Open Site' he does not what to expect, is rather shows the desktop on my iMac.

    When I click on the menu option 'Open Site' he does not what to expect, is rather shows the desktop on my iMac.

    What you see is exactly the way it should work. Open the site your Finder window opens, so you can access the .muse file you want to open. Recently opened (just below it) will show the list of sites you have worked on lately. I don't know what else await you.

    I should probably see a list of site temp I want to open or DELETE?

    No, Muse or any other program besides will not open a file that you do not select to open. To remove a site simply open Finder on Mac go to the location of the file and delete it in one of the many ways that a Mac allows you to do.

  • Error: This device does not work properly because Windows cannot load the...

    I get this error message "this device does not work properly because Windows cannot load the drivers required for this device. (Code 31) "via a wired connection. And that's the Microsoft 6to4 adapt #7 and the same card but the #4 one.  Are these drivers or another file that I could use DL?

    Hi JasonBedgood,

    1. Once you get the error message?
    2. did you of recent changes on the computer?

    This error occurs if the required driver is not installed or the driver is damaged.

    I suggest that you update the driver for the device and check.

    How can I update the driver for network card on the computer

    1. click on Start, click Control Panel, and then double-click System.
    2. click the tab hardware , and then click Device Manager.
    NOTE: If you are prompted for an administrator password or for confirmation, type the password, or click continue.
    3. click on network adapters to expand.
    4. under network adapters, double-click the entry for Microsoft 6to4and then click driver .
    5. click on Update driver software.
    6. follow the Wizard update software driver to update the driver for NICs .

    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    If the device driver update did not help then check the link below for one of the thread with the question and try the steps mentioned by Lionel Chen on January 9, 2008
    http://social.technet.Microsoft.com/forums/en-us/itprovistahardware/thread/3a503cdb-e61c-44BC-97c4-0b38b0e5f929/

    I hope this helps!

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    Hello

    You can access Mode safe? Repeatedly press F8 as you start? If yes you can try Control Panel - device
    Manager - graphics card - Double click on - driver tab - click on UPDATE driver - then right click
    on devices and UNINSTALL - REBOOT.

    Another method to try to get to the desktop (try in normal Windows Mode without failure)
    CTRL + ALT + DELETE and on the tab process EXPLORER.exe and COMPLETE the PROCESS on this subject - then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is reached
    by tapping F8 as you start several times.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you do not have your system disks
    manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (to do the system restore there only to)
    being bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

    ------------------------------------------------

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    -----------------------------------------------

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

    -----------------------------------------------

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation (if all goes well
    saves the data, and you need to reinstall the programs). Be sure to do a good backup or three.

    You can use another DVD that are not protected but you will need to copy you have the product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can make a repair facility that must save the data but you will need to
    Reinstall the programs. This also requires correct Vista disks especially for OEM versions. You will be
    need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    ---------------------------------------------------------------------------

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (type in a single line or copy / paste a line at a time and then press enter - type no parenthesis)
    or "BOLD"
    )

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • I get an error code, ""this device does not work properly because Windows cannot load the drivers required for this device. " (Code 31) "on the computer.

    My drive hard seagate is not recognized on my laptop, I can see it in the legacy of the laptop but has an exclamation deside it, there a message when I tried to solve the problems, error was not fixed, the device status is "this device does not work properly because Windows cannot load the drivers required for this device. (Code 31) »

    Is anyone know how can I access my hard drive again?

    Thank you

    Hello

    You has made changes to the system before the error appearing?  Cancel the changes.

    (1) in Device Manager > right click on the driver, and then select uninstall

    Reboot and Windows will reload the driver

    (2) remove the upper & lower filters that cause errors in Code 31

    http://pcsupport.about.com/od/driverssupport/HT/UpperFilters-LowerFilters.htm

    Access the manufacturer's Web site and search for updated driver

  • Sound does not work when it is connected to the TV with HDMI

    I have a HP Pavilion Notebook PC, DV7 - 6813EV, running windows 7 Home Premium 64-bit SP1. My problem is that I have no sound when connected to my TV HDMI connection and press. Please could someone help me? Thanks in advance

    Hello gematz,

    The sound does not work when it is connected to the TV via HDMI.

    Go to start.

    Type sound.

    Click sound

    On the playback tab, click with the right button on the HDMI interface, and then select set as default device.

    If you do not see the HDMI, right click and select devices see off, then set as default.

    I would like to know how everything goes.

  • Service Pack 3 for Windows XP does not recognize that it is connected to the USB ports. I get a notice that something has been plugged, but Windows fails to recognize regardless of the question.

    Service Pack 3 for Windows XP does not recognize that it is connected to the USB ports. I get a notice that something has been plugged, but Windows fails to recognize regardless of the question.

    Disconnect all USB storage.

    Run this tool by do right click and choose 'run as administrator '.

    Of course, all first extract it:

    http://www.Uwe-Sieber.de/files/drivecleanup.zip

    If your XP is 32 bits, use the Win32 folder.

    Reset.

    If you still can't find the drive, assign it a drive letter in disk management.

  • Why my windows freeze and go does not respond when I try to install the msn photo on hotmail download tool?

    Why my windows freeze and go does not respond when I try to install the msn photo on hotmail download tool?

    The active x bar descends into the small window and freezes all windows open right there and will not respond. This happens when I open a new message and try to attach photos.

    Things I tried but has not made a difference:

    reinstalled IE 8, deleted the history of the browser, disk Cleanup, removed msn photo upload control, optimized IE8

    With xp media center

    PS. This occurs also at any time the information down to install an active x on any site control

    The only way to surf now with frustration is to use IE 8 NOT add optional

    So I fixed that on my own and that's how I did it.

    You must uninstall IE 8 completely which will bring you to IE 7 (in my case) and then install IE 8 via the site updates or microsoft.

    Uninstallin IE 8 by going to:

    Start--->

    Control Panel--->

    Add Remove programs--->

    Scroll down to IE 8--->

    Click on delete.

    IE8 updates must be removed also, if not then click the box 'To see the updates' on the top of the window to scroll down, look for the IE 8 security updates and delete.

    Resart your computer and install IE 8.

    This worked for me and may or may not work for you.

  • This device does not work properly because Windows cannot load the drivers required for this device. (Code 31)

    Original title: this device does not work properly because Windows cannot load the drivers required for this device. (Code 31) in graphics AMD - 8151 HyperTransport (MC) AGP3.0 Tunnel

    This device does not work properly because Windows cannot load the drivers required for this device. (Code 31) in the graphics AMD - 8151 HyperTransport (MC) AGP3.0 Tunnel, what do I do to fix this help please.

    Jake

    Hey Jake,

    Follow these methods.

    Method 1: Follow these steps:

    (a) restart your computer if you have not already done so. There is always the possibility that the error Code 31 that you see was caused by a temporary problem with Device Manager. If so, a simple reboot can solve the Code 31.

    (b) have you install a device or a change in the Device Manager, just as the Code 31 error appeared? If so, it is very possible that the modification caused the Code 31 error.

    (c) cancel the change if you can restart the computer and then check again the error Code 31. Depending on the changes, some solutions may include:

    Remove or reconfigure newly installed unit.

    Restore a version prior to updating the driver.

    Use system restore to undo the Device Manager recent related changes.

    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions

    (d) to remove the registry values filters upper and lower. A common cause of errors in Code 31 is the corruption of two registry values in the class of the CD-ROM/DVD-ROM drive registry key.

    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following link. http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-the-registry

    Method 2: Update the latest graphic drivers.

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

Maybe you are looking for