Text in a scrolling list field
Richard Lague
laguer at ucs.orst.edu
Wed Jan 11 23:38:43 EST 2006
I asked about this a while back. Sarah Reichelt answered me. Here is
my question and her answer:
> I have made a list field for jumping to different cards in the stack--
> and it works fine. But I do have a small interface annoyance because
> the click-on-line in the list field then jumps to the bottom of the
> list field. The only time this does not happen is when the list field
> is scrolled all the way to the top.
>
> When a line in the list field is clicked it opens the corresponding
> card. (The lines in the list field are card names.) There is an
> openCard handler that sets the highlighted line of the list field to
> the line for the just opened card.
>
> Is there some way to stop this jumping and just have the list field
> stay put when a card name is clicked on?
>
>
Setting the hilitedLine of a field will always cause it to scroll so
that the hilited line is visible. If you don't want this to happen,
you can check the vScroll of the field before you set the hilitedLine,
then set it back afterwards.
Sarah
On Jan 10, 2006, at 1:58 AM, Scott Kane wrote:
> Worked out one way of doing it.
> Setting the font size larger solves
> it, though it's a bit on the "loud"
> side...
>
> Scott
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list