[ALLY] Updating text-list scroll bar
[1/3] from: mike::yaunish::home::com at: 4-Dec-2000 19:58
If I do:
view layout [ tl: text-list data [ 1 2 3 4 5 ]
button "add" [ append tl/lines [ 7 8 9 0 ]
show tl ]
]
And press the "add" button a few times, I eventually get a list that I
can't scroll through.
How do I get the scroll bar on a text-list to update?
Mike Yaunish
[mike--yaunish--home--com]
[2/3] from: gchiu:compkarori at: 6-Dec-2000 7:50
On Mon, 04 Dec 2000 19:58:36 -0700
Mike Yaunish <[mike--yaunish--home--com]> wrote:
> can't scroll through.
> How do I get the scroll bar on a text-list to update?
> Mike Yaunish
This was posted by Stirling yesterday
; updates the bar on the side of a text-list or group of
text-lists
fix-slider: func [faces [object! block!]] [
foreach list to-block faces [
either 0 = length? list/data [list/sld/redrag 1] [
list/sld/redrag list/lc / length? list/data]
]
]
--
Graham Chiu
[3/3] from: mike:yaunish:home at: 6-Dec-2000 23:13
At 07:50 AM 06/12/00 +1300, you wrote:
Thanks for the info. One other thing I would like to do with the text-list
is to be able to
add an entry to the list then have the list scroll down to the bottom to
show the new
entry, does anyone know how to do that?
>On Mon, 04 Dec 2000 19:58:36 -0700
> Mike Yaunish <[mike--yaunish--home--com]> wrote:
<<quoted lines omitted: 16>>
>[ally-request--rebol--com] with "unsubscribe" in the
>subject, without the quotes.
Mike Yaunish
[mike--yaunish--home--com]
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted