Re: DataGrid 2 swipe actions

2020-08-29 Thread Mike Kerner via use-livecode
I don't think so.  The scroller is a separate native object that overlays
the rest of the interface.  On desktop, the scrolling is handled by the
object with the scrollbar.

On Fri, Aug 28, 2020 at 5:09 AM Mark Smith via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Is there not a way to just disable the scrollbar (hide it?) and still have
> scrolling enabled? I am trying to do something similar in iOS and thought I
> would try:
>
> set the dgprop["show vscrollbar"] of group "Datagrid 1" to false
> set the dgProp["scroll when vscrollbar is hidden"] of group "DataGrid 1"
> to true
>
> And while it worked as desired in the development environment and when
> compiling to macOS (by hiding the scrollbar and allowing swipes to scroll
> the list), when compiled to iOS no scrolling was possible at all?
>
> Mark
>
>
> > On Aug 27, 2020, at 7:16 PM, Mark Waddingham via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> >Previously, a data grid's mobile scroller was getting in the way of
> >reorder and swipe actions.
>
> ___
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: DataGrid 2 swipe actions

2020-08-28 Thread Mark Smith via use-livecode
Is there not a way to just disable the scrollbar (hide it?) and still have 
scrolling enabled? I am trying to do something similar in iOS and thought I 
would try:

set the dgprop["show vscrollbar"] of group "Datagrid 1" to false
set the dgProp["scroll when vscrollbar is hidden"] of group "DataGrid 1" to true

And while it worked as desired in the development environment and when 
compiling to macOS (by hiding the scrollbar and allowing swipes to scroll the 
list), when compiled to iOS no scrolling was possible at all?

Mark
 

> On Aug 27, 2020, at 7:16 PM, Mark Waddingham via use-livecode 
>  wrote:
> 
>Previously, a data grid's mobile scroller was getting in the way of
>reorder and swipe actions.

___
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: DataGrid 2 swipe actions

2020-08-27 Thread Mike Kerner via use-livecode
are you sure that's a good idea?  michael's PR breaks mobile scrolling.
 i'm all ears on how mobile scrolling can work without delayTouches set to
true.

On Thu, Aug 27, 2020 at 4:24 PM Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Heh - well I said ‘well structured’ not ‘literary’...
>
> Although that being said, the ‘singular’ noun ‘drag’ has a plural and I
> believe it is ‘drags’...
>
> e.g. ‘It took several drags of her long fingernails down the blackboard to
> make the class pay attention’ ;)
>
> If your fix works for you - great...
>
> Unfortunately it breaks some functionality for others so isn’t mergeable
> as it stands.
>
> Warmest Regards,
>
> Mark.
>
> Sent from my iPhone
>
> > On 27 Aug 2020, at 20:58, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Don't be telling me about "well structured commit titles".  There is
> > nothing clear in that title, unless British is your first language, and
> > English is your second, and in British we add an "s" on the ends of every
> > singulars nouns, and peoples speak with a lisps.
> > In the meantime(s), setting the delayTouches to false(s) on a DG(s)
> breaks
> > scrolling(s), thus my PR(s), from however-long-ago it(s) was. :-P
> > Tag.  You(s)'re it(s)
> >
> >> On Thu, Aug 27, 2020 at 2:17 PM Mark Waddingham via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> On 2020-08-27 17:07, Mike Kerner via use-livecode wrote:
> >>> name's mikey.  y'all can call me...
> >>> mikey
> >>>
> >>> howdy.
> >>>
> >>> i think it was just one line of code, too, right?  it was just a matter
> >>> of
> >>> setting the delayTouches to true.  i have no idea why it was originally
> >>> "false".
> >>
> >> Well, the advantage of generally trying to make sure all substantive
> >> changes made to the source have well structured commit titles and decent
> >> descriptions in the body means its easy to find out by grokking `git
> >> log` :D
> >>
> >> It was changed precisely because of the issues Andrew pointed out with
> >> DG2, specifically in this commit:
> >>
> >> commit ac1beee1dd113e203b6715fe472cf2fa88656bd5
> >> Author: Michael McCreary 
> >> Date:   Thu Dec 21 12:49:26 2017 +
> >>
> >> [[ DataGrid 2 ]] Fix drags to cooperate with the mobile scroller.
> >>
> >> Previously, a data grid's mobile scroller was getting in the way of
> >> reorder and swipe actions.
> >>
> >> To fix for reordering, we disable the scroller whenn the user clicks
> >> on a reorder control (and re-enable it when the reorder completes).
> >>
> >> Swipes are a little trickier. We track dragging on mouse down, but
> >> disabling the scroller at this point will prevent all scrolling.
> >> Instead we attempt to determine if the user is trying to drag the
> >> row before disabling the scroller.
> >>
> >> I'd need to do some more digging to see if the highlight on touch has
> >> actually been caused by something else since  as I don't recall it being
> >> an issue, or noticed when DG2 debuted - but I could be wrong. Especially
> >> more since Android has never had a delayTouches mode.
> >>
> >> Either this problem also affects Android, which means turning
> >> delayTouches on is not really an option (given the negative consequences
> >> to DG2 behavior); or it doesn't affect Android in which case something
> >> else has changed (potentially in the iOS scroller control itself).
> >>
> >> I suspect we will just need a short timer on mouse down so that it only
> >> triggers a highlight *if* a scroll message isn't received within the
> >> interval of the timer.
> >>
> >> Warmest Regards,
> >>
> >> Mark.
> >>
> >> --
> >> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> >> LiveCode: Everyone can create apps
> >>
> >> ___
> >> 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: DataGrid 2 swipe actions

2020-08-27 Thread Mike Kerner via use-livecode
https://quality.livecode.com/show_bug.cgi?id=22798
i submitted a PR as well.
If you do a Show Package Contents on the LC binary, then navigate to
Content->Tools->/Toolset->palettes->revdatagridlibrary
and open "behaviorsdatagridbuttonbehavior.livecodescript"
change line 371 to
mobileControlSet sScrollerId, "delayTouches", "true"


On Thu, Aug 27, 2020 at 4:33 PM JeeJeeStudio via use-livecode <
use-livecode@lists.runrev.com> wrote:

> you have to check the bug quality site for that and search for the DG2
> I know there was a fix for the ID thingy, if i understand correctly what
> you ask.
> because if i remember correct the ID created by the dg scroller was not
> 'detectable'
> But to be sure on it check the quality site or one of the releasenotes when
> the DG2 came out
>
> Op do 27 aug. 2020 om 21:58 schreef Andrew at MidWest Coast Media via
> use-livecode :
>
> > My apologies to Mike AND Mark on the misquote, and *bump* to this bug. I
> > had too many QC tabs open for bugs, am I right? ;)
> >
> > Is there a way to send a mobileControlSet “delayTouches” command to the
> > scroller created? I wasn’t sure how to get the ID since the DataGrid code
> > made the scroller.
> >
> > -Andrew Bell
> >
> > >
> > > Subject: Re: DataGrid 2 swipe actions
> > > Message-ID: <166ab8a2-7e58-2303-4d72-f366960d9...@sonic.net>
> > > Content-Type: text/plain; charset=utf-8; format=flowed
> > >
> > > On 8/26/20 9:36 PM, Andrew at MidWest Coast Media via use-livecode
> wrote:
> > >
> > >> The highlighted row when scrolling is a separate bug patched by Mike
> > Wieder  https://quality.livecode.com/show_bug.cgi?id=22798 <
> > https://quality.livecode.com/show_bug.cgi?id=22798> awaiting a GitHub
> > merge, but turning on delayTouches makes the swipe animation jerky
> because
> > the scroller has to decide if it?s scrolling first so the swipe controls
> > aren?t very responsive. Would be curious if these two things can live in
> > harmony. Any DG2 advice?
> > >
> > > That's actually Mike Kerner's fix. I just added a comment. Or two.
> > > Trying to prioritize getting it looked at.
> > >
> > > --
> > >  Mark Wieder
> > >  ahsoftw...@gmail.com
> > >
> >
> > ___
> > 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: DataGrid 2 swipe actions

2020-08-27 Thread JeeJeeStudio via use-livecode
you have to check the bug quality site for that and search for the DG2
I know there was a fix for the ID thingy, if i understand correctly what
you ask.
because if i remember correct the ID created by the dg scroller was not
'detectable'
But to be sure on it check the quality site or one of the releasenotes when
the DG2 came out

Op do 27 aug. 2020 om 21:58 schreef Andrew at MidWest Coast Media via
use-livecode :

> My apologies to Mike AND Mark on the misquote, and *bump* to this bug. I
> had too many QC tabs open for bugs, am I right? ;)
>
> Is there a way to send a mobileControlSet “delayTouches” command to the
> scroller created? I wasn’t sure how to get the ID since the DataGrid code
> made the scroller.
>
> -Andrew Bell
>
> >
> > Subject: Re: DataGrid 2 swipe actions
> > Message-ID: <166ab8a2-7e58-2303-4d72-f366960d9...@sonic.net>
> > Content-Type: text/plain; charset=utf-8; format=flowed
> >
> > On 8/26/20 9:36 PM, Andrew at MidWest Coast Media via use-livecode wrote:
> >
> >> The highlighted row when scrolling is a separate bug patched by Mike
> Wieder  https://quality.livecode.com/show_bug.cgi?id=22798 <
> https://quality.livecode.com/show_bug.cgi?id=22798> awaiting a GitHub
> merge, but turning on delayTouches makes the swipe animation jerky because
> the scroller has to decide if it?s scrolling first so the swipe controls
> aren?t very responsive. Would be curious if these two things can live in
> harmony. Any DG2 advice?
> >
> > That's actually Mike Kerner's fix. I just added a comment. Or two.
> > Trying to prioritize getting it looked at.
> >
> > --
> >  Mark Wieder
> >  ahsoftw...@gmail.com
> >
>
> ___
> 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: DataGrid 2 swipe actions

2020-08-27 Thread Mark Waddingham via use-livecode
Heh - well I said ‘well structured’ not ‘literary’...

Although that being said, the ‘singular’ noun ‘drag’ has a plural and I believe 
it is ‘drags’... 

e.g. ‘It took several drags of her long fingernails down the blackboard to make 
the class pay attention’ ;)

If your fix works for you - great...

Unfortunately it breaks some functionality for others so isn’t mergeable as it 
stands.

Warmest Regards,

Mark.

Sent from my iPhone

> On 27 Aug 2020, at 20:58, Mike Kerner via use-livecode 
>  wrote:
> 
> Don't be telling me about "well structured commit titles".  There is
> nothing clear in that title, unless British is your first language, and
> English is your second, and in British we add an "s" on the ends of every
> singulars nouns, and peoples speak with a lisps.
> In the meantime(s), setting the delayTouches to false(s) on a DG(s) breaks
> scrolling(s), thus my PR(s), from however-long-ago it(s) was. :-P
> Tag.  You(s)'re it(s)
> 
>> On Thu, Aug 27, 2020 at 2:17 PM Mark Waddingham via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> On 2020-08-27 17:07, Mike Kerner via use-livecode wrote:
>>> name's mikey.  y'all can call me...
>>> mikey
>>> 
>>> howdy.
>>> 
>>> i think it was just one line of code, too, right?  it was just a matter
>>> of
>>> setting the delayTouches to true.  i have no idea why it was originally
>>> "false".
>> 
>> Well, the advantage of generally trying to make sure all substantive
>> changes made to the source have well structured commit titles and decent
>> descriptions in the body means its easy to find out by grokking `git
>> log` :D
>> 
>> It was changed precisely because of the issues Andrew pointed out with
>> DG2, specifically in this commit:
>> 
>> commit ac1beee1dd113e203b6715fe472cf2fa88656bd5
>> Author: Michael McCreary 
>> Date:   Thu Dec 21 12:49:26 2017 +
>> 
>> [[ DataGrid 2 ]] Fix drags to cooperate with the mobile scroller.
>> 
>> Previously, a data grid's mobile scroller was getting in the way of
>> reorder and swipe actions.
>> 
>> To fix for reordering, we disable the scroller whenn the user clicks
>> on a reorder control (and re-enable it when the reorder completes).
>> 
>> Swipes are a little trickier. We track dragging on mouse down, but
>> disabling the scroller at this point will prevent all scrolling.
>> Instead we attempt to determine if the user is trying to drag the
>> row before disabling the scroller.
>> 
>> I'd need to do some more digging to see if the highlight on touch has
>> actually been caused by something else since  as I don't recall it being
>> an issue, or noticed when DG2 debuted - but I could be wrong. Especially
>> more since Android has never had a delayTouches mode.
>> 
>> Either this problem also affects Android, which means turning
>> delayTouches on is not really an option (given the negative consequences
>> to DG2 behavior); or it doesn't affect Android in which case something
>> else has changed (potentially in the iOS scroller control itself).
>> 
>> I suspect we will just need a short timer on mouse down so that it only
>> triggers a highlight *if* a scroll message isn't received within the
>> interval of the timer.
>> 
>> Warmest Regards,
>> 
>> Mark.
>> 
>> --
>> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
>> LiveCode: Everyone can create apps
>> 
>> ___
>> 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
>> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> 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: DataGrid 2 swipe actions

2020-08-27 Thread Martin Koob via use-livecode
I thought it was only former hobbitses with powerful rings that talked that way.

Martin
 
> On Aug 27, 2020, at 3:57 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> in British we add an "s" on the ends of every
> singulars nouns, and peoples speak with a lisps.

___
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: DataGrid 2 swipe actions

2020-08-27 Thread Andrew at MidWest Coast Media via use-livecode
My apologies to Mike AND Mark on the misquote, and *bump* to this bug. I had 
too many QC tabs open for bugs, am I right? ;) 

Is there a way to send a mobileControlSet “delayTouches” command to the 
scroller created? I wasn’t sure how to get the ID since the DataGrid code made 
the scroller. 

-Andrew Bell

> 
> Subject: Re: DataGrid 2 swipe actions
> Message-ID: <166ab8a2-7e58-2303-4d72-f366960d9...@sonic.net>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> On 8/26/20 9:36 PM, Andrew at MidWest Coast Media via use-livecode wrote:
> 
>> The highlighted row when scrolling is a separate bug patched by Mike Wieder  
>> https://quality.livecode.com/show_bug.cgi?id=22798 
>> <https://quality.livecode.com/show_bug.cgi?id=22798> awaiting a GitHub 
>> merge, but turning on delayTouches makes the swipe animation jerky because 
>> the scroller has to decide if it?s scrolling first so the swipe controls 
>> aren?t very responsive. Would be curious if these two things can live in 
>> harmony. Any DG2 advice?
> 
> That's actually Mike Kerner's fix. I just added a comment. Or two.
> Trying to prioritize getting it looked at.
> 
> -- 
>  Mark Wieder
>  ahsoftw...@gmail.com
> 

___
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: DataGrid 2 swipe actions

2020-08-27 Thread Mike Kerner via use-livecode
Don't be telling me about "well structured commit titles".  There is
nothing clear in that title, unless British is your first language, and
English is your second, and in British we add an "s" on the ends of every
singulars nouns, and peoples speak with a lisps.
In the meantime(s), setting the delayTouches to false(s) on a DG(s) breaks
scrolling(s), thus my PR(s), from however-long-ago it(s) was. :-P
Tag.  You(s)'re it(s)

On Thu, Aug 27, 2020 at 2:17 PM Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 2020-08-27 17:07, Mike Kerner via use-livecode wrote:
> > name's mikey.  y'all can call me...
> > mikey
> >
> > howdy.
> >
> > i think it was just one line of code, too, right?  it was just a matter
> > of
> > setting the delayTouches to true.  i have no idea why it was originally
> > "false".
>
> Well, the advantage of generally trying to make sure all substantive
> changes made to the source have well structured commit titles and decent
> descriptions in the body means its easy to find out by grokking `git
> log` :D
>
> It was changed precisely because of the issues Andrew pointed out with
> DG2, specifically in this commit:
>
> commit ac1beee1dd113e203b6715fe472cf2fa88656bd5
> Author: Michael McCreary 
> Date:   Thu Dec 21 12:49:26 2017 +
>
>  [[ DataGrid 2 ]] Fix drags to cooperate with the mobile scroller.
>
>  Previously, a data grid's mobile scroller was getting in the way of
>  reorder and swipe actions.
>
>  To fix for reordering, we disable the scroller whenn the user clicks
>  on a reorder control (and re-enable it when the reorder completes).
>
>  Swipes are a little trickier. We track dragging on mouse down, but
>  disabling the scroller at this point will prevent all scrolling.
>  Instead we attempt to determine if the user is trying to drag the
>  row before disabling the scroller.
>
> I'd need to do some more digging to see if the highlight on touch has
> actually been caused by something else since  as I don't recall it being
> an issue, or noticed when DG2 debuted - but I could be wrong. Especially
> more since Android has never had a delayTouches mode.
>
> Either this problem also affects Android, which means turning
> delayTouches on is not really an option (given the negative consequences
> to DG2 behavior); or it doesn't affect Android in which case something
> else has changed (potentially in the iOS scroller control itself).
>
> I suspect we will just need a short timer on mouse down so that it only
> triggers a highlight *if* a scroll message isn't received within the
> interval of the timer.
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> ___
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: DataGrid 2 swipe actions

2020-08-27 Thread Mark Waddingham via use-livecode

On 2020-08-27 17:07, Mike Kerner via use-livecode wrote:

name's mikey.  y'all can call me...
mikey

howdy.

i think it was just one line of code, too, right?  it was just a matter 
of

setting the delayTouches to true.  i have no idea why it was originally
"false".


Well, the advantage of generally trying to make sure all substantive 
changes made to the source have well structured commit titles and decent 
descriptions in the body means its easy to find out by grokking `git 
log` :D


It was changed precisely because of the issues Andrew pointed out with 
DG2, specifically in this commit:


commit ac1beee1dd113e203b6715fe472cf2fa88656bd5
Author: Michael McCreary 
Date:   Thu Dec 21 12:49:26 2017 +0000

[[ DataGrid 2 ]] Fix drags to cooperate with the mobile scroller.

Previously, a data grid's mobile scroller was getting in the way of
reorder and swipe actions.

To fix for reordering, we disable the scroller whenn the user clicks
on a reorder control (and re-enable it when the reorder completes).

Swipes are a little trickier. We track dragging on mouse down, but
disabling the scroller at this point will prevent all scrolling.
Instead we attempt to determine if the user is trying to drag the
row before disabling the scroller.

I'd need to do some more digging to see if the highlight on touch has 
actually been caused by something else since  as I don't recall it being 
an issue, or noticed when DG2 debuted - but I could be wrong. Especially 
more since Android has never had a delayTouches mode.


Either this problem also affects Android, which means turning 
delayTouches on is not really an option (given the negative consequences 
to DG2 behavior); or it doesn't affect Android in which case something 
else has changed (potentially in the iOS scroller control itself).


I suspect we will just need a short timer on mouse down so that it only 
triggers a highlight *if* a scroll message isn't received within the 
interval of the timer.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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: DataGrid 2 swipe actions

2020-08-27 Thread Mike Kerner via use-livecode
name's mikey.  y'all can call me...
mikey

howdy.

i think it was just one line of code, too, right?  it was just a matter of
setting the delayTouches to true.  i have no idea why it was originally
"false".

On Thu, Aug 27, 2020 at 11:39 AM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 8/26/20 9:36 PM, Andrew at MidWest Coast Media via use-livecode wrote:
>
> > The highlighted row when scrolling is a separate bug patched by Mike
> Wieder  https://quality.livecode.com/show_bug.cgi?id=22798 <
> https://quality.livecode.com/show_bug.cgi?id=22798> awaiting a GitHub
> merge, but turning on delayTouches makes the swipe animation jerky because
> the scroller has to decide if it’s scrolling first so the swipe controls
> aren’t very responsive. Would be curious if these two things can live in
> harmony. Any DG2 advice?
>
> That's actually Mike Kerner's fix. I just added a comment. Or two.
> Trying to prioritize getting it looked at.
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.com
>
> ___
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: DataGrid 2 swipe actions

2020-08-27 Thread Mark Wieder via use-livecode

On 8/26/20 9:36 PM, Andrew at MidWest Coast Media via use-livecode wrote:


The highlighted row when scrolling is a separate bug patched by Mike Wieder  
https://quality.livecode.com/show_bug.cgi?id=22798 
 awaiting a GitHub merge, 
but turning on delayTouches makes the swipe animation jerky because the scroller has 
to decide if it’s scrolling first so the swipe controls aren’t very responsive. Would 
be curious if these two things can live in harmony. Any DG2 advice?


That's actually Mike Kerner's fix. I just added a comment. Or two.
Trying to prioritize getting it looked at.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
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


DataGrid 2 swipe actions

2020-08-26 Thread Andrew at MidWest Coast Media via use-livecode
I was inspired by today’s Lockdown Learning Series presentation and looked at 
adding swipe gestures to a current project. This whole process made WAY more 
sense after re-watching Michael’s presentation (I saw it live too, but was over 
my head last year). I’m struggling with a large DG. I’ve got my custom swipe 
controls working and triggering custom swipe actions. But I’m having problems 
with my mouseDown.

If there is a swipe control open and you tap a different visible row, the open 
swipe control is closed (with or w/o animation). 
If there is a swipe control open and the DG scrolls to a point where that 
control is no longer on-screen, that swipe control doesn’t close even though a 
new row is highlighted. 

The closest workaround I could come up with was to check for vertical scroll 
and just kill all swipe controls. Is this expected behavior or bug?

on scrollerDidScroll pHScroll, pVScroll
if pVScroll > 50 then
dispatch "RowSwipeHideControl" to group "DataGrid" with TRUE
end if
end scrollerDidScroll

The highlighted row when scrolling is a separate bug patched by Mike Wieder  
https://quality.livecode.com/show_bug.cgi?id=22798 
 awaiting a GitHub merge, 
but turning on delayTouches makes the swipe animation jerky because the 
scroller has to decide if it’s scrolling first so the swipe controls aren’t 
very responsive. Would be curious if these two things can live in harmony. Any 
DG2 advice?

-Andrew Bell
___
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: Transition from DataGrid in existing app to DataGrid 2 in LC 9.0

2018-05-19 Thread Tom Glod via use-livecode
for all its worthi didn't have to touch anything to get all my grids to
work.  so it seems like the improvements are are the level of the existing
library and nothing crazy under the hood...except for maybe the
"accelerated rendering of subgroups"...which is coming up in 9.1 ..can't
wait to see the diff.

On Sat, May 19, 2018 at 12:50 PM, zryip theSlug via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Martin,
>
> The already existing data grid controls will work directly with the new
> library. You have nothing to change or to re-install. All the handlers,
> functions or properties of the datagrid API are still existing in the dg2
> Library even if they have been rewrote. The only problem I encounter was
> with deleteLine I used for deleting several lines at a time despite the
> documentation recommandation. I changed the entry for deleteLines to fix
> things.
>
> On Thu, May 17, 2018 at 3:06 PM, Martin Koob via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi
> >
> > I have a Mac OS X application that is developed with LC 6.7.3 that I am
> > transitioning to LC 9.0.
> >
> > I have some form style DataGrids in the application.   When I open the
> > project in the LC 9.0 IDE do these data grids automatically have the new
> > features of DataGrid 2 or do I have to replace the DataGrids with new
> ones
> > to get all the DataGrid 2 features.
> >
> > Any other hints on transitioning DataGrids would be appreciated.
> >
> > Thanks.
> >
> > Martin Koob
> >
> >
> >
> >
> > --
> > Sent from: http://runtime-revolution.278305.n4.nabble.com/
> > Revolution-User-f278306.html
> >
> > ___
> > 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
> >
>
>
>
> --
> Zryip TheSlug
> http://www.aslugontheroad.com
> ___
> 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: Transition from DataGrid in existing app to DataGrid 2 in LC 9.0

2018-05-19 Thread zryip theSlug via use-livecode
Martin,

The already existing data grid controls will work directly with the new
library. You have nothing to change or to re-install. All the handlers,
functions or properties of the datagrid API are still existing in the dg2
Library even if they have been rewrote. The only problem I encounter was
with deleteLine I used for deleting several lines at a time despite the
documentation recommandation. I changed the entry for deleteLines to fix
things.

On Thu, May 17, 2018 at 3:06 PM, Martin Koob via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi
>
> I have a Mac OS X application that is developed with LC 6.7.3 that I am
> transitioning to LC 9.0.
>
> I have some form style DataGrids in the application.   When I open the
> project in the LC 9.0 IDE do these data grids automatically have the new
> features of DataGrid 2 or do I have to replace the DataGrids with new ones
> to get all the DataGrid 2 features.
>
> Any other hints on transitioning DataGrids would be appreciated.
>
> Thanks.
>
> Martin Koob
>
>
>
>
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/
> Revolution-User-f278306.html
>
> ___
> 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
>



-- 
Zryip TheSlug
http://www.aslugontheroad.com
___
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


Transition from DataGrid in existing app to DataGrid 2 in LC 9.0

2018-05-17 Thread Martin Koob via use-livecode
Hi

I have a Mac OS X application that is developed with LC 6.7.3 that I am
transitioning to LC 9.0.

I have some form style DataGrids in the application.   When I open the
project in the LC 9.0 IDE do these data grids automatically have the new
features of DataGrid 2 or do I have to replace the DataGrids with new ones
to get all the DataGrid 2 features.

Any other hints on transitioning DataGrids would be appreciated.

Thanks.

Martin Koob




--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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


DataGrid 2

2017-12-31 Thread Antti Ilola via use-livecode
It there anywhere an example how to use datagrid 2. I tried, but somehow I
didn't mange to get in it.

Antti
___
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: Datagrid 2

2017-12-06 Thread Tom Glod via use-livecode
Mike, I am a heavy user of DG features.  was just finding out about the
timeframe of new scroll capabilities on mobile and overall dg speed
improvements

Sounds good .. thank you Kevin Miller.

On Tue, Dec 5, 2017 at 4:25 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Oh I'm an idiot.  It's not mobtablefield, it's modtablefield
> Email: bernd@bernd.niggem...@uni-wh.de to make sure you have the latest
> version.
>
> On Tue, Dec 5, 2017 at 3:44 PM, Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Mike,
> >
> > do you have an url where i can find mobTableField or more information
> > about it?
> >
> > Regards,
> > Matthias
> >
> >
> > > Am 05.12.2017 um 20:52 schrieb Mike Kerner via use-livecode <
> > use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>:
> > >
> > > Tom,
> > > The other option is to use mobTableField (I think Bernd is the author)
> if
> > > you don't need all the bells and whistles of the DG.
> > > I'm using both in different mobile apps.  The original DG works fine
> even
> > > for large DG's with horizontal and vertical scrolling, but MTF is even
> > more
> > > responsive.
> > > ETA - they were talking about "soon" at the last LCG conference, which
> I
> > > would assume means 1Q 18, even though they were talking end of 17.
> > >
> > > On Tue, Dec 5, 2017 at 1:50 PM, Tom Glod via use-livecode <
> > > use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>
> > wrote:
> > >
> > >> Hi folks, I'm bidding on a project and would like to get a sense as to
> > the
> > >> eta of datagrid 2 especially on mobile. I would love to buy a LC Indy
> > >> License and do the job.
> > >>
> > >> During Campaign the eta was oct/november, but i get they are just
> > >> estimates.  Is there a more up to date eta?
> > >>
> > >> Thanks,
> > >>
> > >> Tom
> > >> ___
> > >> use-livecode mailing list
> > >> use-livecode@lists.runrev.com <mailto: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
> > >>
> > >
> > >
> > >
> > > --
> > > On the first day, God created the heavens and the Earth
> > > On the second day, God created the oceans.
> > > On the third day, God put the animals on hold for a few hours,
> > >   and did a little diving.
> > > And God said, "This is good."
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com <mailto: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
> >
>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
> ___
> 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: Datagrid 2

2017-12-05 Thread Mike Kerner via use-livecode
Oh I'm an idiot.  It's not mobtablefield, it's modtablefield
Email: bernd@bernd.niggem...@uni-wh.de to make sure you have the latest
version.

On Tue, Dec 5, 2017 at 3:44 PM, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike,
>
> do you have an url where i can find mobTableField or more information
> about it?
>
> Regards,
> Matthias
>
>
> > Am 05.12.2017 um 20:52 schrieb Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>:
> >
> > Tom,
> > The other option is to use mobTableField (I think Bernd is the author) if
> > you don't need all the bells and whistles of the DG.
> > I'm using both in different mobile apps.  The original DG works fine even
> > for large DG's with horizontal and vertical scrolling, but MTF is even
> more
> > responsive.
> > ETA - they were talking about "soon" at the last LCG conference, which I
> > would assume means 1Q 18, even though they were talking end of 17.
> >
> > On Tue, Dec 5, 2017 at 1:50 PM, Tom Glod via use-livecode <
> > use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>
> wrote:
> >
> >> Hi folks, I'm bidding on a project and would like to get a sense as to
> the
> >> eta of datagrid 2 especially on mobile. I would love to buy a LC Indy
> >> License and do the job.
> >>
> >> During Campaign the eta was oct/november, but i get they are just
> >> estimates.  Is there a more up to date eta?
> >>
> >> Thanks,
> >>
> >> Tom
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com <mailto: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
> >>
> >
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com <mailto: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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Datagrid 2

2017-12-05 Thread Kevin Miller via use-livecode
I gave a demo of the progress on it in the last LCG. Its still on track
for completion in the last DP before Christmas.

Kind regards,

Kevin

Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




On 05/12/2017, 18:50, "use-livecode on behalf of Tom Glod via
use-livecode"  wrote:

>Hi folks, I'm bidding on a project and would like to get a sense as to the
>eta of datagrid 2 especially on mobile. I would love to buy a LC Indy
>License and do the job.
>
>During Campaign the eta was oct/november, but i get they are just
>estimates.  Is there a more up to date eta?
>
>Thanks,
>
>Tom
>___
>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: Datagrid 2

2017-12-05 Thread Matthias Rebbe via use-livecode
Mike, 

do you have an url where i can find mobTableField or more information about it?

Regards,
Matthias


> Am 05.12.2017 um 20:52 schrieb Mike Kerner via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Tom,
> The other option is to use mobTableField (I think Bernd is the author) if
> you don't need all the bells and whistles of the DG.
> I'm using both in different mobile apps.  The original DG works fine even
> for large DG's with horizontal and vertical scrolling, but MTF is even more
> responsive.
> ETA - they were talking about "soon" at the last LCG conference, which I
> would assume means 1Q 18, even though they were talking end of 17.
> 
> On Tue, Dec 5, 2017 at 1:50 PM, Tom Glod via use-livecode <
> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>> wrote:
> 
>> Hi folks, I'm bidding on a project and would like to get a sense as to the
>> eta of datagrid 2 especially on mobile. I would love to buy a LC Indy
>> License and do the job.
>> 
>> During Campaign the eta was oct/november, but i get they are just
>> estimates.  Is there a more up to date eta?
>> 
>> Thanks,
>> 
>> Tom
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com <mailto: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
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com <mailto: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: Datagrid 2

2017-12-05 Thread Mike Kerner via use-livecode
Tom,
The other option is to use mobTableField (I think Bernd is the author) if
you don't need all the bells and whistles of the DG.
I'm using both in different mobile apps.  The original DG works fine even
for large DG's with horizontal and vertical scrolling, but MTF is even more
responsive.
ETA - they were talking about "soon" at the last LCG conference, which I
would assume means 1Q 18, even though they were talking end of 17.

On Tue, Dec 5, 2017 at 1:50 PM, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi folks, I'm bidding on a project and would like to get a sense as to the
> eta of datagrid 2 especially on mobile. I would love to buy a LC Indy
> License and do the job.
>
> During Campaign the eta was oct/november, but i get they are just
> estimates.  Is there a more up to date eta?
>
> Thanks,
>
> Tom
> ___
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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


Datagrid 2

2017-12-05 Thread Tom Glod via use-livecode
Hi folks, I'm bidding on a project and would like to get a sense as to the
eta of datagrid 2 especially on mobile. I would love to buy a LC Indy
License and do the job.

During Campaign the eta was oct/november, but i get they are just
estimates.  Is there a more up to date eta?

Thanks,

Tom
___
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