Re: DragDrop and the DragDestination

2011-01-20 Thread zryip theSlug
On Fri, Jan 21, 2011 at 2:25 AM, Bob Sneidar wrote: > Well I don't want to take a lot of anyone's time anymore. I thought it would > be a simple matter to get the value of a cell in one dataGrid and put it into > the cell of another, but this is proving to be a beatch. > > In your experiment 19,

Re: DragDrop and the DragDestination

2011-01-20 Thread Bob Sneidar
Well I don't want to take a lot of anyone's time anymore. I thought it would be a simple matter to get the value of a cell in one dataGrid and put it into the cell of another, but this is proving to be a beatch. In your experiment 19, you use setDataOfLine to modify the value in the color colu

Re: DragDrop and the DragDestination

2011-01-20 Thread zryip theSlug
On Fri, Jan 21, 2011 at 12:05 AM, Bob Sneidar wrote: > Well I've decided to forgo drag and drop and instead put to and from arrow > buttons between the data grids. Drag and drop would have been cool, but I > have stalled on getting things to work the way it seems they should, and when > you men

Re: DragDrop and the DragDestination

2011-01-20 Thread Bob Sneidar
Well I've decided to forgo drag and drop and instead put to and from arrow buttons between the data grids. Drag and drop would have been cool, but I have stalled on getting things to work the way it seems they should, and when you mentioned scrolling during a drag and drop, I thought to myself,

Re: DragDrop and the DragDestination

2011-01-20 Thread zryip theSlug
On Thu, Jan 20, 2011 at 10:31 PM, Bob Sneidar wrote: > Okay hate to say it but it looks like Remo is throwing runtime errors that it > ought not be throwing. If I quit Remo and restart LiveCode with PowerDebug > instead everything seems to work fine. > > However this may have been some kind of a

Re: DragDrop and the DragDestination

2011-01-20 Thread Bob Sneidar
Okay hate to say it but it looks like Remo is throwing runtime errors that it ought not be throwing. If I quit Remo and restart LiveCode with PowerDebug instead everything seems to work fine. However this may have been some kind of aberration that righted itself and Remo is not to blame at all

Re: DragDrop and the DragDestination

2011-01-20 Thread Bob Sneidar
Okay that was odd. I closed the Datagrid Helper window, turned off script debug mode, and drag and drop started working again! Wierd... Now it works with script debug mode on but I haven't opened the Datagrid Helper. More to follow... Bob On Jan 19, 2011, at 12:52 PM, zryip theSlug wrote: > O

Re: DragDrop and the DragDestination

2011-01-19 Thread Bob Sneidar
Okay looks like there is no such button as button "Track Drag & Drop" in your project. Bob On Jan 19, 2011, at 12:52 PM, zryip theSlug wrote: > On Wed, Jan 19, 2011 at 2:20 AM, Bob Sneidar wrote: >> I get problem loading page. > > Hi Bob, > > The link was a direct download of the stack. >

Re: DragDrop and the DragDestination

2011-01-19 Thread Bob Sneidar
A little more info. The line 24 in the second data grid is throwing a runtime error. It looks like you are sending dgDragMove to something called the dgControl of the target. Is the button "Track Drag & drop" a parent script object? Bob send "dgDragMove pMouseH, pMouseV" to sDataGridA[the dgCo

Re: DragDrop and the DragDestination

2011-01-19 Thread Bob Sneidar
When I drag from the source DG to the destination DG nothing goes. In addition, I get the little gray circle with slash instead of the green plus when I drag. Yes I checked the checkbox to drag from one datagrid to the other. I will read through the scripts to see if I can glean any wisdom anyw

Re: DragDrop and the DragDestination

2011-01-19 Thread zryip theSlug
On Wed, Jan 19, 2011 at 2:20 AM, Bob Sneidar wrote: > I get problem loading page. Hi Bob, The link was a direct download of the stack. Try to go on the download section of the site: http://www.aslugontheroad.co.cc/ And download the experiment 19. If you still have an issue, we will explore

Re: DragDrop and the DragDestination

2011-01-18 Thread zryip theSlug
On Wed, Jan 19, 2011 at 12:25 AM, Bob Sneidar wrote: > Well this is odd... > > I am dragging from one datagrid to another. > > In the script of the destination datagrid, I have a DragDrop handler. In that > script I put the dragDestination into a variable, then put the variable into > the messag

DragDrop and the DragDestination

2011-01-18 Thread Bob Sneidar
Well this is odd... I am dragging from one datagrid to another. In the script of the destination datagrid, I have a DragDrop handler. In that script I put the dragDestination into a variable, then put the variable into the message box. This is what I get: graphic id 80637 of group id 80636