MergExt mergDataGridScroller and MouseMove

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trevix
Posts: 1079
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

MergExt mergDataGridScroller and MouseMove

Post by trevix » Tue Jul 19, 2016 4:38 pm

I have a mergDataGridScroller that behave correctly on IDE and desktop App, but NOT on mobile iOS simulator:

Each line(group) has a button that allows, using MouseMove, to drag the group (line) to a different position in the list of groups.

On mobile, after a 10 pixel drag on either direction of a group(line), the entire grid start scrolling.

Is there something I should be aware, about mergDataGridScroller?

Thanks
Trevix
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: MergExt mergDataGridScroller and MouseMove

Post by Mikey » Wed Jul 20, 2016 2:31 pm

Trevix,
Please try the following:
1) Drag quickly
2) Drag slowly

See if there is a difference in how far you get.

trevix
Posts: 1079
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Re: MergExt mergDataGridScroller and MouseMove

Post by trevix » Wed Jul 20, 2016 4:31 pm

Thanks for answering.

If i drag fast the entire grid scroll.
If I drag slow, the group/line start moving but, after around 10 pixel in either direction, the entire grid start scrolling.
Any clue?
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: MergExt mergDataGridScroller and MouseMove

Post by Mikey » Wed Jul 20, 2016 5:07 pm

If you don't mind sending me a sample, I'm curious, so I'd like to have a look. I have messed with the code in MDGS, so I'd like to see what your sample is doing for myself, and then start playing with it to see what I can do.

trevix
Posts: 1079
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Re: MergExt mergDataGridScroller and MouseMove

Post by trevix » Thu Jul 21, 2016 9:33 am

Sorry. Cannot share my stack and I tried to extract the grid from my stack (way to big) but I couldn't: too many dependencies...
I will keep digging and see if I find something.
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

trevix
Posts: 1079
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Re: MergExt mergDataGridScroller and MouseMove

Post by trevix » Sat Jul 23, 2016 9:26 am

Did not find the reason but I solved with a

Code: Select all

mobileControlSet "DateScroll", "scrollingEnabled", pVisible --disable or enable
before dragging a group/line.
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

Post Reply