Datagrid with mobile scrollbar

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
charms
Posts: 122
Joined: Mon Feb 10, 2014 6:21 pm
Contact:

Datagrid with mobile scrollbar

Post by charms » Wed Apr 30, 2014 8:07 pm

Hi there,

I tried to find information how I can tweak the datagrid that it uses a custom scrollbar on mobile. I'm sorry if this is a common question but I couldn't find sufficient information to actually achieve the task.

I would like to use:
* Normal Scrollbar for Mac and Windows
* Native IOS and Android scrollbar when using mobile devices.

Can somebody provide an easy example on how to do this? I have been reading through the description to do the implementation with a textfield:
http://lessons.runrev.com/s/3527/m/4069 ... ll-a-field

But this does not work with the datagrid.

Thanks and kind regards,
Chris

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid with mobile scrollbar

Post by Klaus » Wed Apr 30, 2014 10:34 pm

Hi Chris,

look and read here:
http://forums.runrev.com/phpBB2/viewtop ... ler#p93753


Best

Klaus

charms
Posts: 122
Joined: Mon Feb 10, 2014 6:21 pm
Contact:

Re: Datagrid with mobile scrollbar

Post by charms » Thu May 01, 2014 8:10 am

Hi Klaus,

I came accross this thread but wasn't sure that the code in there works.
I'll dig in to it in this case.

Thanks for pointing me in to the right direction.

Kind regards,
Chris

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid with mobile scrollbar

Post by Klaus » Thu May 01, 2014 10:34 am

charms wrote:I came accross this thread but wasn't sure that the code in there works.
Oh, come on! 8)

charms
Posts: 122
Joined: Mon Feb 10, 2014 6:21 pm
Contact:

Re: Datagrid with mobile scrollbar

Post by charms » Mon May 05, 2014 12:40 am

Ok ok.... not all fell in a pot of livecode when they were young that gave them magic infinite powers.

But as you did I'll of course never doubt your code samples again... :mrgreen:

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid with mobile scrollbar

Post by Klaus » Mon May 05, 2014 12:10 pm

charms wrote:But as you did I'll of course never doubt your code samples again... :mrgreen:
Good boy! :D

But I fell in a pot of XTalk at the sweet age of 38! 8)

Post Reply