When the drop is made, use the CursorManager class to set the cursor... CursorManager.setCursor(CursorManager.NO_CURSOR);
--- In [email protected], "gareth_arch" <gareth_a...@...> wrote: > > 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 and deselects the text). > > I've tried firing mouse_click and mouse_out events from the TextArea, or > setting the begin and end indices to 0, but nothing seems to stop it from > "thinking" the mouse is still clicked in the TextArea. > > --- In [email protected], "gareth_arch" <gareth_arch@> wrote: > > > > Our end user is wanting us to try to build something where they can drag > > text from the left side (in a TextArea) to TextInput boxes on the right > > hand side. > > > > I've tried some different ways to try to accomplish this: > > > > Making the TextArea draggable - This then prevents using the mouse to > > highlight the text because as soon as you start to select the text, you are > > now dragging the textarea. > > > > Trying to get the selected text, but it gets deselected as soon as you > > "re-click" the selected text. > > > > My latest solution (which I thought *might* be OK with the end user) is > > adding a mouse_up listener to the textarea, which then adds the selected > > text to a variable. The user can then double click the TextInput box, and > > the previously selected text is added to the TextInput.text This got an > > "ah, hmm" from our end user, so I'm trying to figure out something else, or > > this will be it :) > > > > I'm trying to figure out how to keep the text selected "on re-click"...so > > highlight text with mouse, left click on selected text (text stays > > highlighted), and then I can use the DragManager and some finagling to get > > the text to the TextInputs hopefully. Only problem is, as soon as I > > re-click, the selected text is deselected. Any way to prevent this from > > happening (or any other solutions that someone might have are always > > welcome)? > > > > Thanks. > > >

