Re: Datagrid Drag and Drop

2010-09-08 Thread Peter Haworth
Thanks!  That's weird, I searched the forum for drag and drop and  
my thread didn't appear in the results.  Got the latest version of DGH  
by the way, just haven't had time to test it more yet.


Pete Haworth

On Sep 8, 2010, at 7:45 AM, use-revolution-requ...@lists.runrev.com  
wrote:



Message: 13
Date: Tue, 7 Sep 2010 22:26:28 +0200
From: zryip theSlug zryip.thes...@gmail.com
Subject: Re: Datagrid Drag and Drop
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID:
aanlktikwkkh=7xszppvn7zbzgegl73wxctiy6=a2w...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Sep 7, 2010 at 9:42 PM, Peter Haworth  
p...@mollysrevenge.com wrote:
Months ago, I got some guidance form Trevor on how to drag and drop  
into and
out of a datagrid.  I ended up not needing to do it at the time but  
now I do
and I can't find the notes I made on it.  I've searched the online  
datagrid
documentation and can't find anything on this subject.  Can anyone  
point me

in the right direction?
Thanks,

Pete Haworth


Hi Pete,

That is the thread you have opened months ago:
http://forums.runrev.com/phpBB2/viewtopic.php?p=17333.

For reorder lines in the same Data Grid, install the copy of the Data
Grid Helper I sent you today.
Select a Datagrid, then go to the Scripts topics of the properties
palette. You have a menu Reorder lines. Click on the Install
script button to fill the datagrid group with the code you need.

This is good opportunity to test this new DGH's feature. ;)


Regards,
--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Drag and Drop

2010-09-08 Thread zryip theSlug
On Wed, Sep 8, 2010 at 6:05 PM, Peter Haworth p...@mollysrevenge.com wrote:
 Thanks!  That's weird, I searched the forum for drag and drop and my
 thread didn't appear in the results.  Got the latest version of DGH by the
 way, just haven't had time to test it more yet.

Pete,

No problem with that.

Give also a try to the experiment 15 in my lab. Should be a start for
your drag  drop needs.
The link is in my previous reply.


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Datagrid Drag and Drop

2010-09-07 Thread Peter Haworth
Months ago, I got some guidance form Trevor on how to drag and drop  
into and out of a datagrid.  I ended up not needing to do it at the  
time but now I do and I can't find the notes I made on it.  I've  
searched the online datagrid documentation and can't find anything on  
this subject.  Can anyone point me in the right direction?

Thanks,

Pete Haworth









___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Drag and Drop

2010-09-07 Thread zryip theSlug
On Tue, Sep 7, 2010 at 9:42 PM, Peter Haworth p...@mollysrevenge.com wrote:
 Months ago, I got some guidance form Trevor on how to drag and drop into and
 out of a datagrid.  I ended up not needing to do it at the time but now I do
 and I can't find the notes I made on it.  I've searched the online datagrid
 documentation and can't find anything on this subject.  Can anyone point me
 in the right direction?
 Thanks,

 Pete Haworth

Hi Pete,

That is the thread you have opened months ago:
http://forums.runrev.com/phpBB2/viewtopic.php?p=17333.

For reorder lines in the same Data Grid, install the copy of the Data
Grid Helper I sent you today.
Select a Datagrid, then go to the Scripts topics of the properties
palette. You have a menu Reorder lines. Click on the Install
script button to fill the datagrid group with the code you need.

This is good opportunity to test this new DGH's feature. ;)


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Drag and Drop

2010-09-07 Thread zryip theSlug
On Tue, Sep 7, 2010 at 10:26 PM, zryip theSlug zryip.thes...@gmail.com wrote:
 On Tue, Sep 7, 2010 at 9:42 PM, Peter Haworth p...@mollysrevenge.com wrote:
 Months ago, I got some guidance form Trevor on how to drag and drop into and
 out of a datagrid.  I ended up not needing to do it at the time but now I do
 and I can't find the notes I made on it.  I've searched the online datagrid
 documentation and can't find anything on this subject.  Can anyone point me
 in the right direction?
 Thanks,

 Pete Haworth

 Hi Pete,

 That is the thread you have opened months ago:
 http://forums.runrev.com/phpBB2/viewtopic.php?p=17333.

 For reorder lines in the same Data Grid, install the copy of the Data
 Grid Helper I sent you today.
 Select a Datagrid, then go to the Scripts topics of the properties
 palette. You have a menu Reorder lines. Click on the Install
 script button to fill the datagrid group with the code you need.

 This is good opportunity to test this new DGH's feature. ;)



And it was a good exercise for an experiment stack. 8-)
I have just uploaded a new stack in the Slug's lab.

You can download this stack here:
http://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categorydownload=11:experiment-15-drag-drop-in-dgid=7:data-gridItemid=63



Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Drag and Drop

2009-09-24 Thread Josep

Hi Trevor,

Only I get this error when drag from a edited cell, I want drag the entire
row and drop some of the values.. I download the sample and check it...

execution error at line 6 (Chunk: error in object expression), char 22


Salut,
Josep

Trevor DeVore wrote:
 
 On Sep 21, 2009, at 12:52 PM, Josep wrote:
 
 I need use drag and drop between datagrids and others objects, how  
 to begin?
 I need perform operations like exec sql sentences or print.

 Any tip about how begin to handle this?
 
 At RunRevLive I used an updated version of the Data Grid with built-in  
 support for drag reordering and setting the dragImage for drag/drop.
 
 http://tr.im/data_grid
 
 I haven't documented it yet but starting a drag and drop operation  
 with the row being dragged on displayed as the dragImage is really easy:
 
 ##
 ## Data Grid Group Script
 ##
 on dragStart
  ## use current row as dragImage
  put the dgIndex of the dgDataControl of the target into theIndex
  set the dgDragImageIndex of me to theIndex
 
  ## Set dragData to start drag operation
  set the dragData[private] to My Data
 end dragStart
 
 -- 
 Trevor DeVore
 Blue Mango Learning Systems
 ScreenSteps: http://www.screensteps.com
 Application Development with Revolution Course:
 http://revolution.bluemangolearning.com/software/revproappdev/
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
Quoted from: 
http://www.nabble.com/Datagrid-Drag-and-Drop-tp25530401p25560144.html


Trevor DeVore wrote:
 
 On Sep 21, 2009, at 12:52 PM, Josep wrote:
 
 I need use drag and drop between datagrids and others objects, how  
 to begin?
 I need perform operations like exec sql sentences or print.

 Any tip about how begin to handle this?
 
 At RunRevLive I used an updated version of the Data Grid with built-in  
 support for drag reordering and setting the dragImage for drag/drop.
 
 http://tr.im/data_grid
 
 I haven't documented it yet but starting a drag and drop operation  
 with the row being dragged on displayed as the dragImage is really easy:
 
 ##
 ## Data Grid Group Script
 ##
 on dragStart
  ## use current row as dragImage
  put the dgIndex of the dgDataControl of the target into theIndex
  set the dgDragImageIndex of me to theIndex
 
  ## Set dragData to start drag operation
  set the dragData[private] to My Data
 end dragStart
 
 -- 
 Trevor DeVore
 Blue Mango Learning Systems
 ScreenSteps: http://www.screensteps.com
 Application Development with Revolution Course:
 http://revolution.bluemangolearning.com/software/revproappdev/
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 

-- 
View this message in context: 
http://www.nabble.com/Datagrid-Drag-and-Drop-tp25530401p25573973.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Drag and Drop

2009-09-22 Thread Trevor DeVore

On Sep 21, 2009, at 12:52 PM, Josep wrote:

I need use drag and drop between datagrids and others objects, how  
to begin?

I need perform operations like exec sql sentences or print.

Any tip about how begin to handle this?


At RunRevLive I used an updated version of the Data Grid with built-in  
support for drag reordering and setting the dragImage for drag/drop.


http://tr.im/data_grid

I haven't documented it yet but starting a drag and drop operation  
with the row being dragged on displayed as the dragImage is really easy:


##
## Data Grid Group Script
##
on dragStart
## use current row as dragImage
put the dgIndex of the dgDataControl of the target into theIndex
set the dgDragImageIndex of me to theIndex

## Set dragData to start drag operation
set the dragData[private] to My Data
end dragStart

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Application Development with Revolution Course: 
http://revolution.bluemangolearning.com/software/revproappdev/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Datagrid Drag and Drop

2009-09-21 Thread Josep

Hi List,

I need use drag and drop between datagrids and others objects, how to begin?
I need perform operations like exec sql sentences or print.

Any tip about how begin to handle this?


Salut,
Josep
-- 
View this message in context: 
http://www.nabble.com/Datagrid-Drag-and-Drop-tp25530401p25530401.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution