Double-click – DanDev.com http://www.dandev.com Tidbits about software development Wed, 02 Dec 2009 02:59:33 +0000 en-US hourly 1 Flex HDividedBox/VDividedBox divider double-click event oddity http://www.dandev.com/2009/12/hdividedbox/ http://www.dandev.com/2009/12/hdividedbox/#comments Wed, 02 Dec 2009 02:30:05 +0000 http://www.dandev.com/?p=171 I ran across an interesting case today while looking into an issue for someone else related to capturing the double-click event on the divider for a HDividedBox. It’s a little […]

The post Flex HDividedBox/VDividedBox divider double-click event oddity appeared first on DanDev.com.

]]>
I ran across an interesting case today while looking into an issue for someone else related to capturing the double-click event on the divider for a HDividedBox. It’s a little tricky to get the event to be captured by Flex. A quick search of the interwebs turned up nothing but people with the same issue. There is even an open bug in the Adobe Flex bug tracker(you have to login) that seems to be the exact issue, but there is no resolution named. Through some quick experimentation I figured out you can get it to work like so:



    
          
          		
          
          
          		
	      
     
     
          

The specific resolution was to enable liveDragging and add the event to the divider itself(most people try to set it on the doubleClick property of the DividerBox).

Hopefully this post will be helpful to some people out there with the same issue!

The post Flex HDividedBox/VDividedBox divider double-click event oddity appeared first on DanDev.com.

]]>
http://www.dandev.com/2009/12/hdividedbox/feed/ 7