My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  WontFix
Owner:  ----
Closed:  Dec 2009


 
Reported by fernando...@gmail.com, Jul 3, 2008
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
I had a same problem.
I thought that it was caused by loosing focus of Combobox.

So. I removed the line "setFocus();" at the end of the method "onMouseDown" in 
ObjectHandles.as

I didn't check any other features of ObjectHandles.
but, anyway, it works fine.
Dec 22, 2009
Project Member #2 marc.hug...@gmail.com
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
#3 Alex.m20...@gmail.com
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();





Powered by Google Project Hosting