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
Pete Haworth
On Oct 4, 2010, at 10:00 AM, [email protected]
wrote:
Message: 3
Date: Mon, 4 Oct 2010 09:40:47 -0400
From: Trevor DeVore <[email protected]>
Subject: Re: Drag & drop reordering of a DataGrid form
To: How to use Revolution <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
On Sat, Oct 2, 2010 at 9:32 AM, zryip theSlug
<[email protected]>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 dragAction to make the reorder perform.
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 dragAction to "move"
end if
--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution