Drag/Drop Cursor

Peter Haworth pete at lcsql.com
Fri May 25 21:43:32 EDT 2012


As mentioned , that work great but now I have a couple of other issues.

When I drop into the field that  accepts drops, the dropped text is
highlighted.  How can I get rid of the highlight?  It looks like maybe I
have to use the dragEnd message even though that is sent to the source of
the drag/drop not the destination.

In some circumstances, I want to be able to select text in the target
field, then drag text from the source field to the target field and have it
replace the selected text.  However, it seems that LC does not retain the
selected text of a field once the cursor is placed in another field, in
this case the source of the drag.  I can probably figure out how to save
off the selected text position of the target field when the cursor goes
somewhere else and restore when the drag operation completes but before I
start down that path, is there some simple setting that will take care of
this?


Pete
lcSQL Software <http://www.lcsql.com>



On Fri, May 25, 2012 at 5:48 PM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:

> Yes, it should be: set the dragAction to "none"
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> We will have room for new projects after 1 June. Contact me now and be
> first in line.
>
> On 25 mei 2012, at 20:13, Mark Schonewille wrote:
>
> > Hi René,
> >
> > Maybe I gave bad advice. Can the dragAction be set to empty or none?
> I'll check it later...
> >
> > --
> > Kind regards,
> >
> > Mark Schonewille
> > Economy-x-Talk
> > Http://economy-x-talk.com
> >
> > Share the clipboard of your computer over a local network with Clipboard
> Link http://clipboardlink.economy-x-talk.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list