Page 1 of 1

Replacing scroll bar question

Posted: Fri Nov 08, 2019 3:20 am
by Pistris
Is there a way to replace the ugly gray scroll bar on fields with something more pleasant
any tricks?
or a way to scroll a field without the scroll bar showing?

I got no hits on the forum using "Replacing scroll bar"

thanks

Re: Replacing scroll bar question

Posted: Fri Nov 08, 2019 4:57 am
by FourthWorld
Which platform?

Re: Replacing scroll bar question

Posted: Fri Nov 08, 2019 5:05 am
by Pistris
oh sorry, is for IOS

Re: Replacing scroll bar question

Posted: Fri Nov 08, 2019 1:40 pm
by Klaus
Maybe you mean something like this:
http://lessons.livecode.com/m/4069/l/94 ... ll-a-field

Re: Replacing scroll bar question

Posted: Fri Nov 08, 2019 4:57 pm
by Pistris
Hi Klaus,
I don't want to use a scroller because the field I have is editable
I just want to change the actual scrolling bar because is too ugly and has clashes with my design
if it cant be changed then how you implement a scroller on a field that is editable and also
provide a scrollbar to give users an idea of the position they are


thanks

Re: Replacing scroll bar question

Posted: Fri Nov 08, 2019 5:24 pm
by FourthWorld
You may want to consider a using a mobile-native field for any editable text.

Not only will it take care of scrolling for you, but attempting to emulate the text editing conventions users expect (cut, copy, paste, selection handle behavior, etc) in a non-native field can be quite daunting.

Re: Replacing scroll bar question

Posted: Fri Nov 08, 2019 5:31 pm
by Pistris
And how do I implement a mobile-native field
I only see android native field on my tools palette

is that something I have to download like a widget or something?

Re: Replacing scroll bar question

Posted: Sat Nov 09, 2019 6:41 pm
by jacque
You'd create a native input field by script using mobileControlCreate. This works with both Android and iOS fields so you don't need a widget at all.

Code: Select all

mobileControlCreate "multiline", "myField" 

Re: Replacing scroll bar question

Posted: Sun Nov 10, 2019 7:58 pm
by Pistris
thanks
works perfect

Edd.