Treeview widget - setting scroll?

Alan alanstenhouse at hotmail.com
Tue Jan 30 19:27:25 EST 2018


Hi Brian

Thanks for the info. I was mostly interested in setting the scroll for using on mobile. Of course on further investigation I also realise we don't have something like the "formattedHeight" of the widget so pretty hard to make an adaptable mobile scroller for it. Or am I missing something basic?

Anyone used the treeview on mobile yet? Can we use a normal mobile scroller with it?

cheers

Alan

> On 30 Jan 2018, at 9:30 pm, <brian at milby7.com> wrote:
> 
> From: Brian Milby <brian at milby7.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Cc: Alan <alanstenhouse at hotmail.com>
> Subject: Re: Treeview widget - setting scroll?
> Message-ID:
> 	<CA+yhkRZpqtt3UbwE-2i1UwcCCDsusYu-zoVsE2y63XdVWTqV6Q at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
> 
> You do not have the ability to get/set a position by line number/position
> percentage but you can get/set the selected line using a path (see the
> dictionary for specifics). It is probably possible to extend the widget to
> get a position, setting would also be possible I imagine.
> On Sun, Jan 28, 2018 at 10:23 PM Alan via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> 
>> Is it possible to get and/or set the scroll of a treeview widget?
>> 
>> It doesn't look like it, but perhaps someone has a work-around? Or is
>> there some hidden property perhaps?
>> 
>> Thanks for any pointers!
>> 
>> cheers
>> 
>> Alan





More information about the use-livecode mailing list