Re: Clarification Needed: Coding vs. Drag-and-Drop in LiveCode Create Universal

2024-07-30 Thread Kevin Miller via use-livecode
lto:use-livecode@lists.runrev.com>> wrote: Hello Kevin, Does LiveCode Create Universal mean that we can no longer write code and have to rely solely on drag-and-drop like no-code platforms? I believe no-code platforms are a waste of time since they are ulti

Clarification Needed: Coding vs. Drag-and-Drop in LiveCode Create Universal

2024-07-29 Thread Riko Abadi via use-livecode
Hello Kevin, Does LiveCode Create Universal mean that we can no longer write code and have to rely solely on drag-and-drop like no-code platforms? I believe no-code platforms are a waste of time since they are ultimately built with code. ___ use

Re: Drag and drop within a list field

2021-07-19 Thread Paul Dupuis via use-livecode
ated to drag actions and coded the drag and drop behavior there. One thing I have noted is that in LC 9.6.2 STABLE "dragMove" is only sent while the mouse is moving. "mouseMove" is similar. Scott used in his sample stack a "send in time" action to keep autoscrolling

Re: Drag and drop within a list field

2021-07-16 Thread Curry Kenworthy via use-livecode
e around slightly > so that continual dragMove messages are sent Messages are messages, ditto for commands, "never the twain." Keep them separate, user a timer or an alternate message. Messages are handy - not holy. > coding drag and drop operations in LC > is one of the areas I am leas

Re: Drag and drop within a list field

2021-07-16 Thread Devin Asay via use-livecode
nt and I have other problems with highlighting the destination > line when you are over a 'folder' that you can drop on. > > Does anyone have some "best practice" code for this capability that they > would be willing to share? I admit coding drag and dr

Drag and drop within a list field

2021-07-16 Thread Paul Dupuis via use-livecode
es are sent and I have other problems with highlighting the destination line when you are over a 'folder' that you can drop on. Does anyone have some "best practice" code for this capability that they would be willing to share? I admit coding drag and drop operations in LC

Re: TreeView Widget Drag and Drop Support

2021-04-02 Thread HENRY LOWE via use-livecode
;> hierarchical menu in a MacOS app. The widget seems well suited for this >>> purpose and I have successfully created a facsimile of the standard sidebar >>> that is used increasingly in both MacOS and iPadOS apps. However, I need to >>> drag rows from a data grid t

Re: TreeView Widget Drag and Drop Support

2021-03-31 Thread Brian Milby via use-livecode
cript > but on completing the drop there is no way to determine which row in the > TreeView widget the data was dropped into. Ideally when in DragDrop mode the > widget would automatically hilite the row that the mouse is currently over > (standard drag and drop behavior) so th

Re: TreeView Widget Drag and Drop Support

2021-03-31 Thread HENRY LOWE via use-livecode
currently over (standard drag and drop behavior) so that when the user finally releases the mouse button the row that was the drop target would be available in 'the hilitedElement’ property of the widget. Currently I am having to try to determine which row was dropped on using the mouseLoc to calc

Re: TreeView Widget Drag and Drop Support

2021-03-31 Thread HENRY LOWE via use-livecode
t does not report the >> TreeView widget row (element) where the drop occurred. A TreeView widget >> message, such as 'ActionDragDrop pPath’ where pPath is the path to the >> element that was ‘dropped on’ would be incredibly helpful. I have >> implemented a worka

Re: TreeView Widget Drag and Drop Support

2021-03-30 Thread Brian Milby via use-livecode
widget does not report the > TreeView widget row (element) where the drop occurred. A TreeView widget > message, such as 'ActionDragDrop pPath’ where pPath is the path to the > element that was ‘dropped on’ would be incredibly helpful. I have implemented > a workaround m

Re: TreeView Widget Drag and Drop Support

2021-03-30 Thread Sean Cole (Pi) via use-livecode
such as 'ActionDragDrop pPath’ where pPath is the path to the > element that was ‘dropped on’ would be incredibly helpful. I have > implemented a workaround method off drag and drop to the widget but it > occasionally breaks. > > Looking at the LiveCode Builder docume

TreeView Widget Drag and Drop Support

2021-03-30 Thread HENRY LOWE via use-livecode
o the element that was ‘dropped on’ would be incredibly helpful. I have implemented a workaround method off drag and drop to the widget but it occasionally breaks. Looking at the LiveCode Builder documentation, widgets can support the following messages related to drag and drop functionality: OnDra

Re: Big Sur and Drag and drop (Marty Knapp)

2020-09-18 Thread james--- via use-livecode
Thanks Marty. Seems my code is at fault, even though it has worked until now. ___ 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/m

Re: Big Sur and Drag and drop

2020-09-16 Thread Marty Knapp via use-livecode
Hi James, Have an app that uses drag and drop for number of functions, including dropping a folder onto a field and then it lists the files in that folder. Everything seems to be working for me with my app built in LC 9.6.1 running on Big Sur. Marty > On Sep 15, 2020, at 9:17 PM, James H

Big Sur and Drag and drop

2020-09-15 Thread James Hale via use-livecode
Hi, Just a question to others using Big Sur on their Macs. I have an app which uses drag and drop to place a list of files in a field. I drag the folder containing the files over the list, release the mouse and boom the list of files appear. Today I went to use this app on my main Mac which

Drag and Drop Images

2020-04-14 Thread Sannyasin Brahmanathaswami via use-livecode
einvent the wheel, does anyone have handlers or a stack which shows how to drag and drop images (not from desktop) but from one stack to another? This is for content development purposes, so the UIUX does not have to be "pretty". (such as setting the cursor t

Drag and Drop between groups

2019-04-20 Thread Michael Kristensen via use-livecode
Hi there I have placed an example of DaD objects between groups here: https://forums.livecode.com/viewtopic.php?f=7&t=32494 If the experts would like to take a look at it it would be nice (to improve on it) Michael _

Drag-and-Drop with Desktop files

2019-03-18 Thread R.H. via use-livecode
(which is then an Explorer window). So, that works with scripts -hh provided. THIS IS MORE CONVENIENT THAN DRAG-AND-DROP of files/folders even though I also support drag-and-drop plus the standard file/folders selection window. Many thanks again. And I hope the same will work on MacOS and Linux as -hh

Re: Drag-and-Drop with Desktop Files

2019-03-15 Thread Bob Sneidar via use-livecode
I'll toss together an Applescript for you when I get a chance. Bob S > On Mar 14, 2019, at 06:25 , R.H. via use-livecode > wrote: > > I am referring to: > Message: 17, Date: Thu, 14 Mar 2019 00:44:05 +0100, From: hh > > > Regarding MacOS I can not say much, but I use Windows, and IT WORKS.

Re: Drag-and-Drop with Desktop Files

2019-03-14 Thread kee nethery via use-livecode
I had drag and drop in my macOS app but … when going with the AppStore, and sandboxing, there was no way for drag and drop to trigger the sandbox permission that would allow the app to read that file. I knew which file, but since it did not go through the dialog box, the permission wasn’t set

Re: Drag-and-Drop with Desktop Files

2019-03-14 Thread hh via use-livecode
Hi, I use MacOS or linux (on Raspi only), never really worked with windows. I'm using Windows only to test my stacks/apps on the PC of my youngest son. Scripting Host-WScript can execute JScript, the MS-extension of ECMAScript. It has a lot of features. We probably can use a lot of these feature

Re: Drag-and-Drop with Desktop Files

2019-03-14 Thread R.H. via use-livecode
hh, I have one more question for Windows: Selecting a file through Microsoft File Explorer on Windows 10 works for all selected files with your wscript, also when it is a Desktop file accessed through the dialogue. The problem I have is when the user selects a file _directly_ visible on the Deskto

Drag-and-Drop with Desktop Files

2019-03-14 Thread R.H. via use-livecode
I am referring to: Message: 17, Date: Thu, 14 Mar 2019 00:44:05 +0100, From: hh Regarding MacOS I can not say much, but I use Windows, and IT WORKS. 'hh ' = Hermann's contribution, right? This fantastic. I never expected anybody to have a solution. I had searched Git and whatever. Well, first

Re: Drag-and-Drop with Desktop Files

2019-03-13 Thread hh via use-livecode
** Get selected files of the file manager (without user interaction like dragDrop) ** (I write the following such that also beginners can read it.) +++ [a] Solution for MacOS (tested to work on MacOS 10.14): (a1) Put the following in a field "myScript". # Full path of selec

Drag-and-Drop with Desktop Files

2019-03-13 Thread R.H. via use-livecode
Jacqueline: on dragDrop -- check for file paths get the dragData["files"]... pass dragDrop end dragDrop Jacqueline, thank you. I know this and wrote about it. Here I want to know the filename and path which is user-selected in the OS (on Windows File Explorer) without dragging and

Re: Drag-and-Drop with Desktop Files

2019-03-12 Thread Bob Sneidar via use-livecode
I think he was trying to get the OS to tell him which files were hilited by the user without having to drag and drop. At least that is what I got from the post. Bob S > On Mar 12, 2019, at 11:17 , J. Landman Gay via use-livecode > wrote: > > See the entry for dragDrop in th

Re: Drag-and-Drop with Desktop Files

2019-03-12 Thread J. Landman Gay via use-livecode
pt call to the Finder. Windows, I don't know. There is probably a powershell call that will do it. Bob S On Mar 8, 2019, at 06:46 , R.H. via use-livecode wrote: Desktop and IDE, mainly Windows 10 (could be any OS), LiveCode lastest version. Drag-and-Drop on Windows works as expec

Re: Drag-and-Drop with Desktop Files

2019-03-12 Thread Bob Sneidar via use-livecode
lastest > version. > > Drag-and-Drop on Windows works as expected. But I have another request and > do not know how to handle it so far. > > The OS should know which file a user has selected. Is there are a command > or Shell function to know which files are selected in the Op

Drag-and-Drop with Desktop Files

2019-03-08 Thread R.H. via use-livecode
Desktop and IDE, mainly Windows 10 (could be any OS), LiveCode lastest version. Drag-and-Drop on Windows works as expected. But I have another request and do not know how to handle it so far. The OS should know which file a user has selected. Is there are a command or Shell function to know

Navigator Update -- full drag and drop

2018-02-19 Thread Geoff Canyon via use-livecode
You can now drag and drop from Navigator windows to LC stacks, and from Navigator windows to other Navigator windows. You can: Drag controls and bookmarks from Navigator to a stack to add and position controls. (Note, this always duplicates the control even if you're dragging a control th

Re: Navigator Update -- Drag and Drop!

2018-02-12 Thread Geoff Canyon via use-livecode
ut finally gave up, and used a set of drag and drop code that just depended on mouseDown, mouseMove, mouseUp, and mouseRelease. I think it was from Scott Rossi originally, but I'm not sure. The new code builds on that, and uses two stacks with their blendlevel set to something like 80: one t

Re: Navigator Update -- Drag and Drop!

2018-02-12 Thread Bob Sneidar via use-livecode
> On Feb 12, 2018, at 01:52 , Geoff Canyon via use-livecode > wrote: > > Drag and drop has always been just within a single Navigator window -- not > between Navigator windows, and not to/from open stacks. That changes (a > bit) today! You can now select any set of controls in a

Navigator Update -- Drag and Drop!

2018-02-12 Thread Geoff Canyon via use-livecode
Drag and drop has always been just within a single Navigator window -- not between Navigator windows, and not to/from open stacks. That changes (a bit) today! You can now select any set of controls in a Navigator window and drag them out of that window and onto any open stack. Detailed

Re: Super weird drag and drop/mouseMove/mouseRelease issue

2018-02-05 Thread Geoff Canyon via use-livecode
; end mouseMove and hold down the option key while dragging through the forbidden zone. On Mon, Feb 5, 2018 at 6:00 PM, Geoff Canyon wrote: > I'm working on extending drag and drop into/out of Navigator. To do that, > when a drag leaves Navigator I'm using a blendlevel'd s

Super weird drag and drop/mouseMove/mouseRelease issue

2018-02-05 Thread Geoff Canyon via use-livecode
I'm working on extending drag and drop into/out of Navigator. To do that, when a drag leaves Navigator I'm using a blendlevel'd stack to represent the dragged objects as the pointer moves around the screen. This is in LC 8.1.8, on a Mac. This works fine until the drag goes both t

Drag And Drop Rows

2018-01-14 Thread Sannyasin Brahmanathaswami via use-livecode
I was examining the API for Datagrid2 in 9 dp 11 Swiping looks interesting, but I'm also looking for " drag-to-arrange" for mobile With similar "cool" UI animation behavior where if you drag a sub-mini-group, which comprises a row of a large vertically or horizontal scrolling parent group, th

Re: drag and drop of lines within a field

2017-05-03 Thread Bob Sneidar via use-livecode
That was so cool I donated. Bob S > On May 3, 2017, at 06:46 , Tom Bodine via use-livecode > wrote: > > Hi Tiemo, > > I use Scott Rossi's "Get In Line" stack: > http://www.tactilemedia.com/site_files/downloads/getinline.rev.zip > > HTH, > Tom Bodine _

AW: drag and drop of lines within a field

2017-05-03 Thread Tiemo Hollmann TB via use-livecode
: drag and drop of lines within a field Hi Tiemo, I use Scott Rossi's "Get In Line" stack: http://www.tactilemedia.com/site_files/downloads/getinline.rev.zip HTH, Tom Bodine -- = *Bodine Training Games LLC* 8417 Hallet St., Lenex

drag and drop of lines within a field

2017-05-03 Thread Tom Bodine via use-livecode
Hi Tiemo, I use Scott Rossi's "Get In Line" stack: http://www.tactilemedia.com/site_files/downloads/getinline.rev.zip HTH, Tom Bodine -- = *Bodine Training Games LLC* 8417 Hallet St., Lenexa, KS 66215 USA https://www.gameshowpresenter.com / 913-4

drag and drop of lines within a field

2017-05-03 Thread Tiemo Hollmann TB via use-livecode
Hello, I want to let the user drag'n drop lines within a scrolling list field to let him sort the sequence of (not wrapped) lines. Deleting the start line, inserting it after the target line. I can invent the wheel, but wanted to ask, if anybody has perhaps a nice snipped with all the needed UI b

Re: Drag and Drop with HTML5 Export?

2015-07-16 Thread David Bovill
Thanks for the head-up Peter. On 16 July 2015 at 13:54, Peter TB Brett wrote: > On 2015-07-16 14:46, David Bovill wrote: > >> Is this something that looks like it will be part of the first alpha? Have >> any test been done with drag and drop - or are we a way off establishi

Re: Drag and Drop with HTML5 Export?

2015-07-16 Thread Peter TB Brett
On 2015-07-16 14:46, David Bovill wrote: Is this something that looks like it will be part of the first alpha? Have any test been done with drag and drop - or are we a way off establishing whether this will work? We do not currently plan to enable drag and drop in time for the first

Drag and Drop with HTML5 Export?

2015-07-16 Thread David Bovill
Is this something that looks like it will be part of the first alpha? Have any test been done with drag and drop - or are we a way off establishing whether this will work? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Drag and Drop Linux, 7.0.5 64 Bit

2015-06-09 Thread Richard Gaskin
Malte Brill wrote: > Now entered in quality: > http://quality.runrev.com/show_bug.cgi?id=15482 Thank you, Malte. Related: http://quality.runrev.com/show_bug.cgi?id=15479 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: Drag and Drop Linux, 7.0.5 64 Bit

2015-06-09 Thread Malte Brill
Now entered in quality: http://quality.runrev.com/show_bug.cgi?id=15482 Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and ma

Re: Drag and Drop Linux, 7.0.5 64 Bit

2015-06-08 Thread Malte Brill
Hi Richard, > What issues are you seeing? Not finished analyzing yet, but many. No Indicator shown on dragStart DragDrop doesn’t dragMove not sent to group owning the target / not handable in group containing the target dragEnter not handled properly All in all either seriously broken, or some

Re: Drag and Drop Linux, 7.0.5 64 Bit

2015-06-08 Thread Richard Gaskin
Malte Brill wrote: > did anyone of you get Drag and Drop to work in the 7.0.5 64-Bit Linux > engine under Ubuntu 14.0.4 (LTS)? > > If so I would be very interested in learning how. Kinda FUBAR here: when I drag text within a field, it doesn't move the text but it does create a

Drag and Drop Linux, 7.0.5 64 Bit

2015-06-08 Thread Malte Brill
Hi, did anyone of you get Drag and Drop to work in the 7.0.5 64-Bit Linux engine under Ubuntu 14.0.4 (LTS)? If so I would be very interested in learning how. Thanks a lot, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Q: Standalone with drag and drop works on one Windows machine but not two others… why?

2014-09-23 Thread Trevor DeVore
eem to make a difference, but what is it supposed to > do anyway? Maybe there’s something there. > There is an odd issue on Windows that occurs for a lot of people (not just for LiveCode apps). Drag and drop basically stops working and pressing the escape key fixes it. Based on your descript

Re: Q: Standalone with drag and drop works on one Windows machine but not two others… why?

2014-09-23 Thread sty...@roguemusic.com
works perfectly on my Win7 test machine, but not on the other two. Maybe they don’t have the right Trojans installed? The only major difference that comes to mind is that I have Livecode installed on the test machine. I figure, if they can drag and drop on the desktop, they should be able to

Re: Q: Standalone with drag and drop works on one Windows machine but not two others… why?

2014-09-22 Thread AndyP
com/Q-Standalone-with-drag-and-drop-works-on-one-Windows-machine-but-not-two-others-why-tp4683548p4683600.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this u

Re: Q: Standalone with drag and drop works on one Windows machine but not two others… why?

2014-09-22 Thread J. Landman Gay
The user security level? On 9/22/2014, 1:46 PM, sty...@roguemusic.com wrote: Thanks for responding Trevor. Restarting doesn’t help. On the one Win7 laptop it’s perfect, just like the Macs. On another Win7 laptop, and on a Win8 desktop, the cursor indicates the “no-drop-allowed” condition. On

Re: Q: Standalone with drag and drop works on one Windows machine but not two others… why?

2014-09-22 Thread sty...@roguemusic.com
Thanks for responding Trevor. Restarting doesn’t help. On the one Win7 laptop it’s perfect, just like the Macs. On another Win7 laptop, and on a Win8 desktop, the cursor indicates the “no-drop-allowed” condition. On those machines I can see the cursor respond correctly, changing to “Copy” withi

Re: Q: Standalone with drag and drop works on one Windows machine but not two others… why?

2014-09-22 Thread Trevor DeVore
On Sun, Sep 21, 2014 at 4:54 PM, sty...@roguemusic.com < sty...@roguemusic.com> wrote: > > This code works fine on my Macs, and fine on a laptop running Windows 7; > but on another Windows 7 laptop, and yet another running Windows 8, the > stop sign cursor appears when I drag a folder to the butto

Q: Standalone with drag and drop works on one Windows machine but not two others… why?

2014-09-21 Thread sty...@roguemusic.com
Q: Standalone with drag and drop works on one Windows machine but not two others… why? The code is like this: on dragEnter set the allowabledragactions to "copy,link" set the dragAction to "copy" set the hilite of me to true end dragEnter on dragDrop if the drag

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-26 Thread Peter Haworth
Hi Geoff, I got a few minutes to check this out and everything works fine now except for the issue of dragging above/below the field. However, looks like that's just a matter of how much of a border you allow for when calculating the noFlyRect. I changed the top and bottom borders from 20 to 10 a

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-26 Thread Geoff Canyon
Thanks to Peter for pointing out some issues. Update to fix them: https://docs.google.com/file/d/0By_mW8YYOZpAZ19VUHdHcjViY28 On Wed, Jul 24, 2013 at 3:38 AM, Geoff Canyon wrote: > Thanks for pointing out the new messages for behaviors. This > version

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-24 Thread Geoff Canyon
Thanks for pointing out the new messages for behaviors. This versionshould address the following: -- All messages should be "before" or "after" so they won't interfere with your code. -- Clicking on the selection should not change the

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-23 Thread Geoff Canyon
On Tue, Jul 23, 2013 at 1:02 PM, Richard Gaskin wrote: > I wonder if Geoff's script could be revised to use "before mouseDown" or > "after mouseDown" to allow instances to handle the primary forms of those > messages without interference? > I checked, and the appropriate combination of before an

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-23 Thread Geoff Canyon
t; again. > For earlier versions of LC, if you pass the following messages after you do whatever you like, the drag and drop should still work: mouseEnter mouseDown mouseMove mouseUp mouseRelease selectionChanged gc ___ use-livecode maili

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-23 Thread Geoff Canyon
> >> > >> >Hi Geoff, > >> > > >> >Am 18.07.2013 um 18:23 schrieb Geoff Canyon : > >> > > >> >> I did some quick research, and this looks to be as much of a pain as > >>I > >> >> remember --

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-23 Thread Geoff Canyon
supportDragAndDrop property. > > > >take a look at Scott Rossi's solution to this: > ><http://www.tactilemedia.com/site_files/downloads/getinline.rev.zip> > > > >Not sure if this works with multilines, but should get you started :-) > > > >> On

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-23 Thread Peter Haworth
On Tue, Jul 23, 2013 at 11:02 AM, Richard Gaskin wrote: > I wonder if Geoff's script could be revised to use "before mouseDown" or > "after mouseDown" to allow instances to handle the primary forms of those > messages without interference? Great idea, The before/after messages are pretty recent

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-23 Thread Richard Gaskin
Peter Haworth wrote: It looks like this is probably not going to work as a behavior for me since the field I'm using it on includes mouseUp/Down handlers to handle situations other than drag/drop, but other than that, this is great, thanks again. I wonder if Geoff's script could be revised to u

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-23 Thread Peter Haworth
Thanks Geoff. It looks like this is probably not going to work as a behavior for me since the field I'm using it on includes mouseUp/Down handlers to handle situations other than drag/drop, but other than that, this is great, thanks again. Pete lcSQL Software On Mon, Jul

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-22 Thread Geoff Canyon
https://docs.google.com/file/d/0By_mW8YYOZpAME5lTE44c2oxRU0 That should fix the message so that, optionally, you can add a handler to your list like this: on dragLines dragLines,dropLines end dragLines and then if you select lines 12 and 18 and drag them to the top of the list you would get that

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-22 Thread Peter Haworth
On Mon, Jul 22, 2013 at 2:03 PM, Geoff Canyon wrote: > The dragLines message I messed up fixing the issue Scott mentioned above > (darn regression errors...) I have it fixed now, I'll upload a new copy in > a bit. To answer your question -- the first param is the drag lines, the > second is the d

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-22 Thread Geoff Canyon
On Mon, Jul 22, 2013 at 3:44 PM, Peter Haworth wrote: > > Resending because the original got caught in the dreaded "message is too > long" vortex. > > This is very useful, thanks Geoff. > > I can't quite figure out what's going on with the format statement that's > part of the send of dragLines.

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-22 Thread Peter Haworth
On Sun, Jul 21, 2013 at 1:56 PM, Geoff Canyon wrote: > https://docs.google.com/file/d/0By_mW8YYOZpATnFfeExKNkt1VXc > > This version updates the history of the selection after a drag so the > problem you saw should be corrected. Feel free to update the instructions, > etc. and repost on your site.

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-21 Thread Scott Rossi
nd this looks to be as much of a pain as >>I >> >> remember -- or am I missing something? All I want is to place a >> >>scrolling >> >> list field on a card, enable the multipleLines and >>nonContiguousHilites >> >>of >> >> it,

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-18 Thread Scott Rossi
lt;http://www.tactilemedia.com/site_files/downloads/getinline.rev.zip> > >Not sure if this works with multilines, but should get you started :-) > >> On Wed, Jul 17, 2013 at 1:51 PM, Geoff Canyon wrote: >> >>> Does anyone have code to share that allows discontiguou

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-18 Thread Klaus major-k
51 PM, Geoff Canyon wrote: > >> Does anyone have code to share that allows discontiguous selection and >> drag and drop within a list field? i.e. if I have a list field with: >> >> 1 >> 2 >> 3 >> 4 >> 5 >> >> I can click 3 to select

Re: Reliable script to handle selection/drag-and-drop in a list field?

2013-07-18 Thread Geoff Canyon
, Jul 17, 2013 at 1:51 PM, Geoff Canyon wrote: > Does anyone have code to share that allows discontiguous selection and > drag and drop within a list field? i.e. if I have a list field with: > > 1 > 2 > 3 > 4 > 5 > > I can click 3 to select it, shift-click 5 to selec

Reliable script to handle selection/drag-and-drop in a list field?

2013-07-17 Thread Geoff Canyon
Does anyone have code to share that allows discontiguous selection and drag and drop within a list field? i.e. if I have a list field with: 1 2 3 4 5 I can click 3 to select it, shift-click 5 to select 3 to 5, command-click 4 so that 3 and 5 are selected, and then click and drag 3 (with 5 along

Re: Drag and Drop

2013-05-12 Thread Richmond
On 05/11/2013 06:54 PM, Richmond wrote: On 05/11/2013 06:30 PM, Mark Wieder wrote: Richmond- Friday, May 10, 2013, 11:46:45 PM, you wrote: As a result I gave up reading it and started thinking for myself. ...no good can come of that... Okay; let's rewrite that to this: "I read the docume

Re: Drag and Drop

2013-05-11 Thread Richmond
On 05/11/2013 09:06 PM, J. Landman Gay wrote: On 5/11/13 1:46 AM, Richmond wrote: On 05/10/2013 11:17 PM, Alejandro Tejada wrote: Hi Richmmond, Richmond Mathewson-2 wrote [snip] So I don't know where you got the idea that this used not to work: [snip] mouseStillDown is not mentioned in this

Re: Drag and Drop

2013-05-11 Thread J. Landman Gay
On 5/11/13 1:46 AM, Richmond wrote: On 05/10/2013 11:17 PM, Alejandro Tejada wrote: Hi Richmmond, Richmond Mathewson-2 wrote [snip] So I don't know where you got the idea that this used not to work: [snip] mouseStillDown is not mentioned in this article: http://www.hyperactivesw.com/resource

Re: Drag and Drop

2013-05-11 Thread Richmond
On 05/11/2013 06:30 PM, Mark Wieder wrote: Richmond- Friday, May 10, 2013, 11:46:45 PM, you wrote: As a result I gave up reading it and started thinking for myself. ...no good can come of that... Okay; let's rewrite that to this: "I read the documentation, and when it does not help me I s

Re: Drag and Drop

2013-05-11 Thread Mark Wieder
Richmond- Friday, May 10, 2013, 11:46:45 PM, you wrote: > As a result I gave up reading it and started thinking for myself. ...no good can come of that... -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runr

Re: Drag and Drop

2013-05-10 Thread Richmond
e.com/Drag-and-Drop-tp4664563p4664677.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription prefere

Re: Drag and Drop

2013-05-10 Thread Scott Rossi
course, things have changed a lot in LiveCode. As I said, if it works for you, great. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design Original message Subject: Re: Drag and Drop From: Richmond To: How to use LiveCode CC: null

Re: Drag and Drop

2013-05-10 Thread Paul Hibbert
On 2013-05-10, at 9:17 AM, Ray Horsley wrote: > Have you tried really slowly dragging a file onto a stack window from the > desktop to see if it changes to the circle with a line through it even though > you've got this in your card's script: > > on dragEnter > set the dragAction to "copy" >

Re: Drag and Drop

2013-05-10 Thread J. Landman Gay
On 5/10/13 3:17 PM, Alejandro Tejada wrote: Hi Richmmond, Richmond Mathewson-2 wrote [snip] So I don't know where you got the idea that this used not to work: [snip] mouseStillDown is not mentioned in this article: http://www.hyperactivesw.com/resources_polling.html Why? Mostly because it

Re: Drag and Drop

2013-05-10 Thread Alejandro Tejada
http://runtime-revolution.278305.n4.nabble.com/Drag-and-Drop-tp4664563p4664677.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscr

Re: Drag and Drop

2013-05-10 Thread Richmond
ccurred to you. Richmond. Though you're still left with the limitations of working within a single stack, and no dragging in or out. But if the technique works for you, awesome. Speaking as someone who has rolled custom drag-and-drop code (execute in your message box): go url "http://

Re: Drag and Drop

2013-05-10 Thread Ray Horsley
same script I do get the plus sign for a >> cursor. >> Weird isn't it? > > And... This happens in every platform? > Windows? Mac? Linux? > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Drag

Re: Drag and Drop

2013-05-10 Thread Alejandro Tejada
e plus sign for a > cursor. > Weird isn't it? And... This happens in every platform? Windows? Mac? Linux? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-and-Drop-tp4664563p4664662.html Sent from

Re: Drag and Drop

2013-05-10 Thread Paul Hibbert
Ray, Try moving your dragEnter & dragDrop to the card script (or the stack script), this works fine for me and I can't break it… on dragEnter if char -3 to -1 of the dragData["files"] is among the items of "jpg,png,gif" then set the dragAction to "copy" end if end dragEnter on dragD

Re: Drag and Drop

2013-05-10 Thread Ray Horsley
Very interesting point Jacqueline. In my case my image control displays nothing. I use it as a template, ultimately to make images out of what users drag and drops. It's the same dimensions as the stack itself. Since the image control displays nothing as it isn't linked (the FileName of it)

Re: Drag and Drop

2013-05-10 Thread Richmond
works for you, awesome. Speaking as someone who has rolled custom drag-and-drop code (execute in your message box): go url "http://www.tactilemedia.com/site_files/downloads/TMdragndrop.rev"; ...I'll suggest from experience that at some point it will benefit you to get a handle

Re: Drag and Drop

2013-05-10 Thread André Bisseret
t; works better in my > case since it adds a plus sign to the cursor (when it works) but still does > not solve the intermittent failure of Livecode to accept the drop > consistently. > > - Thanks for the link to the article "Pinning Drag-and-Drop to the Mat" > but I had ac

Re: Drag and Drop

2013-05-09 Thread Marty Knapp
I use a transparent button that covers the area I want to be able to accept the drop. I use a dragEnter in the stack to show the button and then hide it after dropping or exiting. You can give the button a border as a visual indicator. Best regards, Marty Knapp Knappster Solutions LLC

Re: Drag and Drop

2013-05-09 Thread J. Landman Gay
On 5/9/13 7:03 PM, Ray Horsley wrote: At the end of the day I'm wondering if this should be reported as a bug. It seems like something is getting hooked in memory. It's weird that I can drag a file onto my Livecode stack (which is one large image control with the drag handlers in it) and get n

Re: Drag and Drop

2013-05-09 Thread Mark Wieder
Ray- Thursday, May 9, 2013, 5:03:09 PM, you wrote: >- Thanks for the link to the article "Pinning Drag-and-Drop > to the Mat" but I had actually read through it yesterday when I > began wrestling with this. It, too, does not address dragging files > from the desktop

Re: Drag and Drop

2013-05-09 Thread Ray Horsley
intermittent failure of Livecode to accept the drop consistently. - Thanks for the link to the article "Pinning Drag-and-Drop to the Mat" but I had actually read through it yesterday when I began wrestling with this. It, too, does not address dragging files from the desktop into Livecod

Re: Drag and Drop

2013-05-09 Thread Scott Rossi
OK, I accepted your dare and was surprised to see that it worked (didn't used to). Nice. Though you're still left with the limitations of working within a single stack, and no dragging in or out. But if the technique works for you, awesome. Speaking as someone who has rolled custom dra

Re: Drag and Drop

2013-05-09 Thread Richmond
orsley writes: What am I missing to get drag/drop working consistently? You might also want to look at <http://lessons.runrev.com/s/lessons/m/4071/l/7124-pinning-drag-and-drop- to-the-mat-a-primer> Why do I always just use on mouseDown grab me end mouseDown then set up a load

Re: Drag and Drop

2013-05-09 Thread Devin Asay
> On 5/9/13 12:42 PM, "Richmond" wrote: > >> On 05/09/2013 09:01 PM, Mark Wieder wrote: >>> Ray Horsley writes: >>> >>>> What am I missing to get drag/drop working consistently? >>> You might also want to look at >>> >&g

Re: Drag and Drop

2013-05-09 Thread Scott Rossi
irector Tactile Media, UX/UI Design On 5/9/13 12:42 PM, "Richmond" wrote: >On 05/09/2013 09:01 PM, Mark Wieder wrote: >> Ray Horsley writes: >> >>> What am I missing to get drag/drop working consistently? >> You might also want to look at >> &g

  1   2   >