Re: Drag & drop reordering of a DataGrid form

2010-10-06 Thread zryip theSlug
On Mon, Oct 4, 2010 at 3:40 PM, Trevor DeVore wrote: > On Sat, Oct 2, 2010 at 9:32 AM, zryip theSlug wrote: > >> Just to clarify, this is a change in the datagrid library itself not >> in the LiveCode engine. >> I have tried this by using the revdatagridlibrary stack from the >> LiveCode 4.5 into

Re: Drag & drop reordering of a DataGrid form

2010-10-05 Thread Trevor DeVore
On Mon, Oct 4, 2010 at 1:15 PM, Peter Haworth wrote: > Maybe I'm misunderstanding something but I don't see any code for handling > drag/drop in the default datagrid behavior script I got when I installed > LiveCode 4.5 The code is in the data grid behavior script: edit script of btn "Data Grid"

Re: Drag & drop reordering of a DataGrid form

2010-10-05 Thread Trevor DeVore
On Mon, Oct 4, 2010 at 1:15 PM, Peter Haworth wrote: > Maybe I'm misunderstanding something but I don't see any code for handling > drag/drop in the default datagrid behavior script I got when I installed > LiveCode 4.5 The code is in the data grid behavior script: edit script of btn "Data Grid"

Re: Drag & drop reordering of a DataGrid form

2010-10-04 Thread Monte Goulding
> In the dgDragMove handler update the code that sets the dragAction to this: > > ## Make sure data grid control will accept drop > if the dragSource contains the long ID of me and (the mouseControl is not > empty and the long id of the mouseControl contains the long ID of me) then > set the dra

Re: Drag & drop reordering of a DataGrid form

2010-10-04 Thread Peter Haworth
ct 2010 09:40:47 -0400 From: Trevor DeVore Subject: Re: Drag & drop reordering of a DataGrid form To: How to use Revolution Message-ID: Content-Type: text/plain; charset=ISO-8859-1 On Sat, Oct 2, 2010 at 9:32 AM, zryip theSlug wrote: Just to clarify, this is a change in the da

Re: Drag & drop reordering of a DataGrid form

2010-10-04 Thread Trevor DeVore
On Sat, Oct 2, 2010 at 9:32 AM, zryip theSlug wrote: > Just to clarify, this is a change in the datagrid library itself not > in the LiveCode engine. > I have tried this by using the revdatagridlibrary stack from the > LiveCode 4.5 into my version of Revolution 4.5 dp2 and now I have to > set the

Re: Drag & drop reordering of a DataGrid form

2010-10-02 Thread zryip theSlug
> On Sat, Oct 2, 2010 at 2:51 PM, Monte Goulding > wrote: >>> 2) A sample stack >>> http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip >>> The code used in the DG group is similar to the script you shared in >>> your blog excepted the dragMove handler is missing. >> >> Ah,

Re: Drag & drop reordering of a DataGrid form

2010-10-02 Thread zryip theSlug
On Sat, Oct 2, 2010 at 2:51 PM, Monte Goulding wrote: >> 2) A sample stack >> http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip >> The code used in the DG group is similar to the script you shared in >> your blog excepted the dragMove handler is missing. > > Ah, this stac

Re: Drag & drop reordering of a DataGrid form

2010-10-02 Thread Monte Goulding
> 2) A sample stack > http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip > The code used in the DG group is similar to the script you shared in > your blog excepted the dragMove handler is missing. Ah, this stack would have been handy. It doesn't work unless you set the d

Re: Drag & drop reordering of a DataGrid form

2010-10-02 Thread zryip theSlug
On Fri, Oct 1, 2010 at 2:23 PM, Monte Goulding wrote: >> Hold the phone. Looking at the data grid behavior script this might already >> be a feature but I can't find any docs about enabling it. Trevor? > > Talking to myself here but the blog post has been updated with a drag and > drop script us

Re: Drag & drop reordering of a DataGrid form

2010-10-01 Thread Monte Goulding
> Hold the phone. Looking at the data grid behavior script this might already > be a feature but I can't find any docs about enabling it. Trevor? Talking to myself here but the blog post has been updated with a drag and drop script using the inbuilt support that seems to be undocumented. Scroll

Re: Drag & drop reordering of a DataGrid form

2010-10-01 Thread Monte Goulding
Hold the phone. Looking at the data grid behavior script this might already be a feature but I can't find any docs about enabling it. Trevor? > Hi Everyone > > I've got a blog up for reordering DataGrid forms by drag and drop. Doesn't > work for tables and you must cache controls. > > http://g

Re: Drag & Drop question

2010-06-30 Thread Mark Wieder
tkuypers- Wednesday, June 30, 2010, 1:32:45 AM, you wrote: > Hi Mark, > Yes, I read it yesterday, but it didn't solve my question... > The answer Jan Schenkel posted was exactly what I was looking > for, and i could not find that in the tutorial or in the docs... > But thanks anyway :-) Cool.

Re: Drag & Drop question

2010-06-30 Thread tkuyp...@telenet.be
Hi Mark, Yes, I read it yesterday, but it didn't solve my question... The answer Jan Schenkel posted was exactly what I was looking for, and i could not find that in the tutorial or in the docs... But thanks anyway :-) Met vriendelijke groeten, Ton Kuypers On 30-jun-2010, at 06:59, Mark Wie

Re: Drag & Drop question

2010-06-30 Thread tkuyp...@telenet.be
Hi Jan, Thanks, works like a charm! Never thought about the dragImage :-( Met vriendelijke groeten, Ton Kuypers On 30-jun-2010, at 06:54, Jan Schenkel wrote: > I think the button you're dragging along will get in the way of the drop. > It's better to update the dragImage rather than try an

Re: Drag & Drop question

2010-06-29 Thread Mark Wieder
tkuypers- Here's a tutorial I wrote on drag-and-drop: http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/7124-Pinning-Drag-and-drop-to-the-mat-a-primer -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@l

Re: Drag & Drop question

2010-06-29 Thread Jan Schenkel
I think the button you're dragging along will get in the way of the drop. It's better to update the dragImage rather than try and move a 'shadow' button around the card; besides, it won't show once your drag goes outside the window. Add an image, set its name to "DragImage" and hide it. Then use

Re: Drag & Drop with color cursor

2007-08-29 Thread Jim Carwardine
Welcome to MS and Entourage... Jim on 8/27/07 7:28 PM, Mark Schonewille wrote: > Hi Jim, > > Even after you quoted and resent the link, I can still click on it in > Apple Mail and directly get to the correct page. I have no idea what > your mail client does with it. > > Best regards, > > Mark

Re: Drag & Drop with color cursor

2007-08-27 Thread Jim Carwardine
Welcome to MS and Entourage... Jim on 8/27/07 7:28 PM, Mark Schonewille wrote: > Hi Jim, > > Even after you quoted and resent the link, I can still click on it in > Apple Mail and directly get to the correct page. I have no idea what > your mail client does with it. > > Best regards, > > Mark

Re: Drag & Drop with color cursor

2007-08-27 Thread Mark Schonewille
Hi Jim, Even after you quoted and resent the link, I can still click on it in Apple Mail and directly get to the correct page. I have no idea what your mail client does with it. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com

Re: Drag & Drop with color cursor

2007-08-27 Thread Jim Carwardine
This got wrapped and I can't figure out how to unwrap the line. Just taking out the carriage return doesn't seem to help... Jim on 8/27/07 11:41 AM, Mark Schonewille wrote: > group=gmane.comp.ide.revolution.user&query=drag+and+drop+dragdata> -- HiringSm

Re: Drag & Drop with color cursor

2007-08-27 Thread Mark Schonewille
Hi Rolf, To use colour cursors, you should make a stack and set its window shape to a picture of the cursor you want to use. It is the only way, afaik, until someone releases an external for colour cursors or RunRev Ltd decides to support native cursors. For drag and drop, read the docs a

Re: drag/drop/snap button to arc

2007-08-19 Thread Malte Brill
Hi Emilio, please excuse the shameless plug. If you´d use animationengine you would want to use something like the following script in the card (assuming one moving button called myButton and one oval graphic, called arc): local tDragTime on init set the loc of btn "myButton" to 400,400 se

Re: Drag, Drop, Invisibility and going 'wonky' with standalones

2005-12-14 Thread Thomas McGrath III
Richmond, You always have been quite generous. Thank you for your contributions. I am and will be a member of the [RRgraphix] group. With you contributing so much content I am feeling inspired and will work towards the same end. Thanks Tom On Dec 14, 2005, at 3:12 PM, Mathewson wrote:

Re: Drag & Drop from one substack to another

2005-08-19 Thread Jim Carwardine
Well, there you are... I never tried the obvious. I thought it needed to be coded specifically and I couldn't get it to work. Thanks, guys... Jim on 8/18/05 1:07 PM, Wilhelm Sanke wrote: > On Thu Aug 18 Jim Carwardine JimCarwardine at OwnYourFuture-net.com wrote: > >> I'm using normal text fie

Re: Drag & Drop from one substack to another

2005-08-18 Thread Wilhelm Sanke
On Thu Aug 18 Jim Carwardine JimCarwardine at OwnYourFuture-net.com wrote: I'm using normal text fields in scrolling groups... Jim on 8/16/05 5:32 PM, Ken Ray wrote: > On 8/16/05 2:22 PM, "Jim Carwardine" OwnYourFuture-net.com> > wrote: > >> Hi Folks... Maybe this looked too much like another

Re: Drag & Drop from one substack to another

2005-08-18 Thread Ken Ray
On 8/18/05 5:24 AM, "Jim Carwardine" <[EMAIL PROTECTED]> wrote: > I'm using normal text fields in scrolling groups... Jim Then it should just "work"... I tried it. I created two stacks, each with a couple of unlocked fields in a scrolling group, typed some text into one of the fields on the first

Re: Drag & Drop from one substack to another

2005-08-18 Thread Jim Carwardine
I'm using normal text fields in scrolling groups... Jim on 8/16/05 5:32 PM, Ken Ray wrote: > On 8/16/05 2:22 PM, "Jim Carwardine" <[EMAIL PROTECTED]> > wrote: > >> Hi Folks... Maybe this looked too much like another thread on D&D. I really >> need to know if anyone can point me to the right inf

Re: Drag & Drop from one substack to another

2005-08-16 Thread Ken Ray
On 8/16/05 2:22 PM, "Jim Carwardine" <[EMAIL PROTECTED]> wrote: > Hi Folks... Maybe this looked too much like another thread on D&D. I really > need to know if anyone can point me to the right info on dragging and > dropping text from a field in one substack to a field in another substack of > th

Re: Drag & Drop - from one substack to another

2005-08-12 Thread Jim Carwardine
While we are on this subject, does anyone have an example of dragging from a field in one substack and dropping in a field in another substack... Jim on 8/4/05 1:00 PM, Wilhelm Sanke wrote: > On Wed, 3 Aug 2005, Howard Bornstein <[EMAIL PROTECTED]> wrote: > >> (snip) >> Scott's solution is very

Re: Drag & Drop of lines within fields

2005-08-04 Thread Scott Rossi
Recently, david bovill wrote: >> This might work for you (in your message box): >> >> go url "http://www.tactilemedia.com/download/getinline.rev"; > > Links not working for me? Can you add it to your nice download > machine thingy? Well, there's nothing special about the above link, but GetIn

Re: Drag & Drop of lines within fields

2005-08-04 Thread Wilhelm Sanke
On Wed, 3 Aug 2005, Howard Bornstein <[EMAIL PROTECTED]> wrote: (snip) Scott's solution is very elegant. Wilhelm Sanke also came up with a fairly simple solution that I find I use frequently for this purpose. His script is below. (snip) Thanks for the reference, Howard. The first version of t

Re: Drag & Drop of lines within fields

2005-08-04 Thread david bovill
This might work for you (in your message box): go url "http://www.tactilemedia.com/download/getinline.rev"; Links not working for me? Can you add it to your nice download machine thingy? ___ use-revolution mailing list use-revolution@lists.runrev.

Re: Drag & Drop of lines within fields

2005-08-04 Thread Ton Kuypers
:-)) Tnx, that was the one I was looking for! Works beautifull On 4-aug-05, at 00:48, Scott Rossi wrote: Recently, Ton Kuypers wrote: I seem to recall that someone created a very nice example of drag & drop of lines in listfields, but I cans seem to find it anymore... I just need to rearr

Re: Drag & Drop of lines within fields

2005-08-03 Thread Howard Bornstein
On 8/3/05, Scott Rossi <[EMAIL PROTECTED]> wrote: > Recently, Ton Kuypers wrote: > > > I seem to recall that someone created a very nice example of drag & > > drop of lines in listfields, but I cans seem to find it anymore... I > > just need to rearrange lines in a field by drag & drop... > > > >

Re: Drag & Drop of lines within fields

2005-08-03 Thread Scott Rossi
Recently, Ton Kuypers wrote: > I seem to recall that someone created a very nice example of drag & > drop of lines in listfields, but I cans seem to find it anymore... I > just need to rearrange lines in a field by drag & drop... > > Could anyone please point me in the right direction or to an e

Re: Drag & Drop File/Folder on Rev Standalone Program Icon

2004-11-08 Thread Frank Engel
One "general" solution would be to implement both. A non-mac will not send the apple event, so handling that event will not have any effect on a non-mac. Even if $1 is not available under Mac OS Classic, you can still implement it for the other platforms. The only "tricky" case is that you ca

Re: Drag & Drop File/Folder on Rev Standalone Program Icon

2004-11-08 Thread Rob Cozens
Hi Jan, MacOS will send your app an AppleEvent of type 'odoc' -- not sure which class, can't check at the moment. Hope this helped, It did a little...my desire is for one general solution; but at least you've shown me A solution for Classic Mac.. I'll check it out. -- Rob Cozens, Staff Conservato

Re: Drag & Drop File/Folder on Rev Standalone Program Icon

2004-11-08 Thread Jan Schenkel
--- Rob Cozens <[EMAIL PROTECTED]> wrote: > >I'll do that and let you know how it works on Mac > OS. > > According to the Rev Dictionary, the $ keyword does > not work on Mac OS Classic. > > Is there another approach that works on all > platforms? > -- > > Rob Cozens > Hi Rob, MacOS will sen

Re: Drag & Drop File/Folder on Rev Standalone Program Icon

2004-11-08 Thread Rob Cozens
I'll do that and let you know how it works on Mac OS. According to the Rev Dictionary, the $ keyword does not work on Mac OS Classic. Is there another approach that works on all platforms? -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a lit

Re: Drag & Drop File/Folder on Rev Standalone Program Icon

2004-11-08 Thread Rob Cozens
Try this script out. I'll do that and let you know how it works on Mac OS. Thanks, Derek. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) __

Re: Drag & Drop File/Folder on Rev Standalone Program Icon

2004-11-08 Thread Rob Cozens
> how do you handle the case where a file is > dropped on the icon of (or its icon double-clicked to be opened with) an OS X app (or classic MacOS app for that matter) when the app is > already open? In my case, Frank, the app would close automatically upon completing its task. If the app is

Re: Drag & Drop File/Folder on Rev Standalone Program Icon

2004-11-08 Thread Derek Bump
<[EMAIL PROTECTED]> To: "How to use Revolution" <[EMAIL PROTECTED]> Sent: Monday, November 08, 2004 10:46 AM Subject: Re: Drag & Drop File/Folder on Rev Standalone Program Icon > That looks good, except how do you handle the case where a file is > dropped on the icon of

Re: Drag & Drop File/Folder on Rev Standalone Program Icon

2004-11-08 Thread Frank Engel
That looks good, except how do you handle the case where a file is dropped on the icon of (or its icon double-clicked to be opened with) an OS X app (or classic MacOS app for that matter) when the app is already open? This script obviously won't work in that particular case; it only makes sens

Re: Drag & Drop File/Folder on Rev Standalone Program Icon

2004-11-08 Thread Derek Bump
Rob, Try this script out. Works great in my software. global droppedImage on startup put $1 into droppedImage end startup on openStack if droppedImage is not empty then doOpenFile droppedImage end openStack Derek Bump Dreamscape Software C

Re: Drag & Drop

2004-09-12 Thread Klaus Major
Hi William, Message: 24 Date: Sat, 11 Sep 2004 18:00:45 -0500 From: Ken Ray <[EMAIL PROTECTED]> Subject: Re: Drag & Drop On 9/11/04 12:59 PM, "william griffin" <[EMAIL PROTECTED]> wrote: While we are on the subject, how does one manage to add drag to from desktop applic

Re: Drag & Drop

2004-09-11 Thread Ken Ray
On 9/11/04 10:31 PM, "Troy Rollins" <[EMAIL PROTECTED]> wrote: > > On Sep 11, 2004, at 11:27 PM, Ken Ray wrote: > >> You can extend this model for checking for images, etc. >> >> Hope this helps, > > I'll imagine this will be available on your site as well, Ken? Nice > detailing. That's the p

Re: Drag & Drop

2004-09-11 Thread Troy Rollins
On Sep 11, 2004, at 11:27 PM, Ken Ray wrote: You can extend this model for checking for images, etc. Hope this helps, I'll imagine this will be available on your site as well, Ken? Nice detailing. -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ use

Re: Drag & Drop

2004-09-11 Thread Ken Ray
On 9/11/04 8:00 PM, "william griffin" <[EMAIL PROTECTED]> wrote: >> >> Message: 24 >> Date: Sat, 11 Sep 2004 18:00:45 -0500 >> From: Ken Ray <[EMAIL PROTECTED]> >> Subject: Re: Drag & Drop >> >> On 9/11/04 12:59 PM, &quo

Re: Drag & Drop

2004-09-11 Thread william griffin
Message: 24 Date: Sat, 11 Sep 2004 18:00:45 -0500 From: Ken Ray <[EMAIL PROTECTED]> Subject: Re: Drag & Drop On 9/11/04 12:59 PM, "william griffin" <[EMAIL PROTECTED]> wrote: While we are on the subject, how does one manage to add drag to from desktop application

Re: Drag & Drop

2004-09-11 Thread Ken Ray
On 9/11/04 12:59 PM, "william griffin" <[EMAIL PROTECTED]> wrote: > While we are on the subject, how does one manage to add > drag to from desktop application functionality to rev based application > icons and stacks? What are you trying to drag from "outside" into Revolution? Text, images, ... ?

RE: Drag & Drop

2004-09-11 Thread william griffin
8. Drag & Drop (Jim Carwardine) Message: 8 Date: Thu, 09 Sep 2004 21:16:31 -0300 From: Jim Carwardine <[EMAIL PROTECTED]> Subject: Drag & Drop To: Revolution Listserve <[EMAIL PROTECTED]> I recall a discussion a few months ago about dragging and dropping but I don't remember the details. I'd l

Re: drag & drop

2004-06-03 Thread tzvi
___ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com - Original Message - From: "tzvi" <[EMAIL PROTECTED]> To: "How to use Revolution" <[EMAIL PROTECTED]> Sent: Thursday, June 03, 2004 20:33 Subject: Re: drag

Re: drag & drop

2004-06-03 Thread Derek Bump
> Hi, > > Jan Schenkel has wrote a sample stack about this. > > Available at : http://www.geocities.com/janschenkel/ > > drapdroplist. > > Hope this helps > > Greetings. > > Yves COPPE This works pretty well. I just with that this feature was native in the Revolution IDE. Among other things of c

Re: drag & drop

2004-06-03 Thread Derek Bump
__ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com - Original Message - From: "tzvi" <[EMAIL PROTECTED]> To: "How to use Revolution" <[EMAIL PROTECTED]> Sent: Thursday, June 03, 2004 20:33 Subject: Re: drag & drop > On T

Re: drag & drop

2004-06-03 Thread tzvi
I'd assume "on mouseDown copy end mouseDown" and "on mouseUp paste end mouseUp" On Thursday, June 3, 2004, at 12:15 PM, Derek Bump wrote: Is it possible to make items in a list type field draggable? For example, I choose three items in a list field and I'd like to drag them to another list fi

Re: drag & drop

2004-06-03 Thread Yves COPPE
Le 3 juin 04, à 18:15, Derek Bump a écrit : Is it possible to make items in a list type field draggable? For example, I choose three items in a list field and I'd like to drag them to another list field. Is this possible? Hi, Jan Schenkel has wrote a sample stack about this. Available at : http

Re: drag/drop to reorder text items in a list?

2003-08-14 Thread Wilhelm Sanke
> Has anyone ever used Revolution to do dragging-and-dropping of lines of text > within a text field? That is, permitting the user to drag line #15 within a > text field between line 4 and 5 and having Revolution re-shuffle the list. > Try this: on mouseDown put word 2 of the clickLine into

Re: Drag & Drop

2003-03-17 Thread Klaus Major
Hi Roger, here is a simple handler that i put into the card-script of my drag'n'drop test stack (only one card ;-)... It requires an image, a field and a player: Very basic, but should gt you started :-) Klaus, I copied your dragDrop script into a card script, created a field, an image, and a pla

Re: Drag & Drop

2003-03-17 Thread Roger . E . Eller
> here is a simple handler that i put into the card-script of my > drag'n'drop test stack (only one card ;-)... > > It requires an image, a field and a player: > Very basic, but should gt you started :-) Klaus, I copied your dragDrop script into a card script, created a field, an image, and a pl

Re: Drag & Drop

2003-03-17 Thread Klaus Major
Hi Rolf, Can anyone explain what has to be scripted to have a Stack, where one can drop a File from the Finder into an img grc and then, the Stack would put the path of the droped file into the message box. here is a simple handler that i put into the card-script of my drag'n'drop test stack (onl

Re: Drag/drop files

2003-01-26 Thread Jan Schenkel
--- Jez <[EMAIL PROTECTED]> wrote: > Does anyone know if it is possible to write a rev > app to receive files > dragged from an external app such as windows > explorer? Presumably this > requires some external configuration too since if > you currently try this the > cursor immediately changes to a