Re: Levure Dataview drag-reordering

2021-06-11 Thread David Bovill via use-livecode
So I got visual feedback from drag-and-drop using the Levure DataView following 
instructions at:

• https://github.com/trevordevore/levurehelper-dataview

I add the following code to the DataView:
> quote_type
> on dragStart
>  set the dvDragImageRow of me to item 1 of the dvHilitedRows of me
>  set the dvTrackDragReorder[the dvHilitedRows of me] of me to true
>  set the dragData["private"] to the dvHilitedRows of me # dragdata has to be 
> set to something.
> end dragStart
>
> on ValidateRowDrop pDraggingInfoA, pProposedRow, pProposedDropOperation
>  put "Dragging" && pProposedRow && pProposedDropOperation
>  return true
> end ValidateRowDrop
>
> on AcceptRowDrop pDraggingInfoA, pRow, pDropOperation
>  put "Dropped" && pRow && pDropOperation
> end AcceptRowDrop
>
But the ValidateRowDrop message does not get sent, also I don’t get any visual 
feedback with a "drop indicator" (the line that shows you where the drop will 
occur) - any idea?

    Schedule a call with me
On 11 Jun 2021, 16:03 +0100, David Bovill , wrote:
> Yeah sorry about the typo - sent from mobile. I meant Levure -  as Trevor is 
> the main man with the drag stuff and having differenr styles for rows is a 
> must.
>
> NB on the typo front I have a distant memory that aeons ago when I first got 
> an iPhone I said yes to the spelling “fir”.  Ever since then all my devices 
> seem to love this word - anyone have an idea how to correct this auto typing 
> flaw?
>
>     Schedule a call with me
> On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode 
> , wrote:
> > Hi David,
> >
> > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode 
> > > :
> > >
> > > Is there a simple demo out there that shows how drag-reordering of rows 
> > > in a dataview works? Is this feature experimental? Got a deadline fir 
> > > Monday considering taking the plunge?
> >
> > Levite Dataview? 8-)
> > Sure you do not mean LC datagrid?
> >
> > >  Schedule a call with me
> >
> > No. :-D
> >
> >
> > Best
> >
> > Klaus
> > --
> > Klaus Major
> > https://www.major-k.de
> > https://www.major-k.de/bass
> > kl...@major-k.de
> >
> >
> > ___
> > 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/mailman/listinfo/use-livecode
___
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/mailman/listinfo/use-livecode


Re: Levure Dataview drag-reordering

2021-06-11 Thread Bob Sneidar via use-livecode
That's a good thing, yes? That means your Apple device is not phoning home. 

Bob S


> On Jun 11, 2021, at 08:24 , Stephen Barncard via use-livecode 
>  wrote:
> 
> yeah, Apple still thinks I live in Sevastopol, Ukraine!
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org


___
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/mailman/listinfo/use-livecode


Re: Levure Dataview drag-reordering

2021-06-11 Thread Stephen Barncard via use-livecode
yeah, Apple still thinks I live in Sevastopol, Ukraine!
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org


On Fri, Jun 11, 2021 at 8:08 AM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi David,
>
> > Am 11.06.2021 um 17:03 schrieb David Bovill via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Yeah sorry about the typo - sent from mobile. I meant Levure -  as
> Trevor is the main man with the drag stuff and having differenr styles for
> rows is a must.
>
> ah, OK, I'll pass it over to Trevor!
>
> > NB on the typo front I have a distant memory that aeons ago when I first
> got an iPhone I said yes to the spelling “fir”.  Ever since then all my
> devices seem to love this word - anyone have an idea how to correct this
> auto typing flaw?
>
> Sorry, no idea fir this problem... 8-)
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> 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/mailman/listinfo/use-livecode
>
___
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/mailman/listinfo/use-livecode


Re: Levure Dataview drag-reordering

2021-06-11 Thread Klaus major-k via use-livecode
Hi David,

> Am 11.06.2021 um 17:03 schrieb David Bovill via use-livecode 
> :
> 
> Yeah sorry about the typo - sent from mobile. I meant Levure -  as Trevor is 
> the main man with the drag stuff and having differenr styles for rows is a 
> must.

ah, OK, I'll pass it over to Trevor!

> NB on the typo front I have a distant memory that aeons ago when I first got 
> an iPhone I said yes to the spelling “fir”.  Ever since then all my devices 
> seem to love this word - anyone have an idea how to correct this auto typing 
> flaw?

Sorry, no idea fir this problem... 8-)


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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/mailman/listinfo/use-livecode


Re: Levure Dataview drag-reordering

2021-06-11 Thread David Bovill via use-livecode
Yeah sorry about the typo - sent from mobile. I meant Levure -  as Trevor is 
the main man with the drag stuff and having differenr styles for rows is a must.

NB on the typo front I have a distant memory that aeons ago when I first got an 
iPhone I said yes to the spelling “fir”.  Ever since then all my devices seem 
to love this word - anyone have an idea how to correct this auto typing flaw?

    Schedule a call with me
On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode 
, wrote:
> Hi David,
>
> > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode 
> > :
> >
> > Is there a simple demo out there that shows how drag-reordering of rows in 
> > a dataview works? Is this feature experimental? Got a deadline fir Monday 
> > considering taking the plunge?
>
> Levite Dataview? 8-)
> Sure you do not mean LC datagrid?
>
> >  Schedule a call with me
>
> No. :-D
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> 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/mailman/listinfo/use-livecode
___
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/mailman/listinfo/use-livecode