Hi. I have done this sort of thing for decades, starting with HC. But I used an invisible field to “carry” the line of interest, not an image. I do not know if this will help your issue. If you need a description of that let me know.
Craig > On Aug 25, 2021, at 5:36 PM, Paul Dupuis via use-livecode > <use-livecode@lists.runrev.com> wrote: > > I have a situation I just noticed running under LC 9.6.3. > > I have a field where you can drag lines to drop on other specific lines. on > dragStart, take a snapshot of the line just clicked and make set and existing > image object to the image data of the snapshot. > i.e. > put pText into fld "DragList" > export snapshot from fld "DragList" to tImg as PNG > put tImg into img "CodeBookDrag" > > I have check all this in the debugger. The field "DragList" has the text of > the line clicked on at the start of the drag. The image "CodeBookDrag" is set > to an image of the field containing the text - all is good > > In my dragStart handler, I have: > > set the dragImage to the id of image "CodeBookDrag" of this cd > > on macOS (Mojave), as I perform the drag, the cursor changes to the line of > text image (YEA!) > > on Windows (same exact code) , the cursor remains a circle with a slash > (default) when over a line that can not be dropped on and a plus icon over a > lien that can be dropped on. > > This used to work cross-platform. The code is the same across macOS and > Windows. Has anyone else seen an issue like this? is dragImage broken on > Windows? > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode