Hi there

I have an HDividedBox control that divides 2 children that resize with
 dragging. 

There are 2 issues that I am having with this control:
1) the updates to the child container sizes dont occur simultaneously,
resulting in visual errors of size & position (which are fixed when
dragging stops)
2) when I release my mouse outside of the application, the drag
control of the HDividedBox still has focus, leading to incorrect
sizing when the mouse moves back into the app.

I managed to solve the 1st issue by setting a MOUSE_MOVE event on the
divider and calling updateAfterEvent()

I tried to address the 2nd by adding MOUSE_UP and MOUSE_DOWN events to
capture the 'on-release-outside' state, which they do, but the divider
still has focus. 
I went a step further and dispatched a DividerEvent.DIVIDER_RELEASE
event from teh MOUSE_UP state, which is caught by the divider,
however, the state of the divider still doesn't change & it still has
focus ... 

Any advice??
Thanks
Tracy
 

Reply via email to