| Issue 6: | Problem with the behavior of a ComboBox when it´s inside a ObjectHandle container | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. Put a populated combobox inside a ObjectHandle container
2. Execute de application
3. Click on the combox´s arrow - OK
3. Click on the middle of the combobox -> PROBLEM
4. After click on the middle, try to click on the combox´s arrow again ->
PROBLEM
What is the expected output? What do you see instead?
-> On 3 and 4 steps, the combobox should "open" showing the options
What version of the product are you using? On what operating system?
-> I´ve tried with ObjectHandles-1.0.0014 and ObjectHandles-1.0.0015.
Please provide any additional information below.
This is the code used for the test:
<oh:ObjectHandles id="ohTest" mouseChildren="true" x="0" y="0" width="250"
height="100">
<mx:ComboBox id="cboTest" x="0" y="0" width="200" labelField="label"
selectedIndex="0">
<mx:Object label="anything1"/>
<mx:Object label="anything2"/>
</mx:ComboBox>
</oh:ObjectHandles>
Jul 22, 2008
#1
neon...@gmail.com
Dec 22, 2009
ObjectHandles swallows the mouse move events that would make that work. This is a common issue that has many symptoms, including this one. I don't have a general fix for it. This is not an issue with ObjectHandles version 2.
Status:
WontFix
Apr 18, 2011
There are a problem with the neon's workaround:
- if you try to resolve the comboBox problem commenting the setFocus() line at the end of onMouseDown in ObjectHandles.as the component will not send the KEY_DOWN event. So you must change the setFocus for this:
if (event.target==this)
setFocus();
|