I don't think you need to extend any classes.
You already know what the text is in the Text Input and you already know the
text that the user is dragging so all you need to know is where the user has
the mouse at the current moment and where they release the mouse button. The
first is so you
There are other cursors you can set it to. That one was to set it back to the
standard system cursor.
--- In flexcoders@yahoogroups.com, gareth_arch gareth_a...@... wrote:
This appears to just be for the mouse cursor. It's actually in the TextArea
itself (the blinking I bar). I got it
Yeah, that's what I meant. I never ended up changing the arrow to a hand.
It's the blinking I (when you click in a TextInput) that is causing the
issue. The CursorManager only seems to be for switching the mouse cursor, not
stopping the blinking I insertion thing from making Flex think it's
My thought would be to use a modifier key. If the user holds down the Ctrl key
while over the text area, change the cursor to a hand, grab the current
selection and drag/drop that. I've never done anything like that but it seems
reasonable to me ;-}
--- In flexcoders@yahoogroups.com,
Thanks for both of the inputs. The Ctrl + click seems to be a winner with the
users, and draggable control seems to work also (I had to switch it to a
TextArea, rather than a TextField as it said it wasn't able to convert to an
IUIComponent for the drag, but other than that, works great).
---
OK, very close with this now.
The final thing is that after I have dragged the value to the TextInputs, and
dropped the value into them, the original TextArea still thinks the mouse is
over it (so as you move the mouse around it looks like the mouse is still
clicked in the TextArea and selects
When the drop is made, use the CursorManager class to set the cursor...
CursorManager.setCursor(CursorManager.NO_CURSOR);
--- In flexcoders@yahoogroups.com, gareth_arch gareth_a...@... wrote:
OK, very close with this now.
The final thing is that after I have dragged the value to the
This appears to just be for the mouse cursor. It's actually in the TextArea
itself (the blinking I bar). I got it working by doing a this.setFocus() in
the component outside of the TextArea, then it removes the focus.
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
When
8 matches
Mail list logo