[REBOL] Updating the scroll bar in a text-list in /View
From: gjones05:mail:orion at: 27-Jan-2001 5:43
Hi, folks,
Is this my ignorance or might this be a bug in /View (Windows 0.10.38.3.1).
When I dynamically update the list elements in a list, the scroll bar does
not seem to update. I can recreate the behavior in a very short example as
follows:
view layout [
tl: text-list 100x100
button "Add to List" [
tl/lines: [1 2 3 4 5 6 7 8 9 10]
show tl
]
]
In this example, the text-list starts out empty. Clicking the button adds
ten elements to the list, but the scroll bar does not change, nor seem to be
have any effect. I've looked through the source and been unable to figure
out where I'm going wrong nor where a bug may be. The work-around is to add
enough blank elements to the initiated list, so that the scroll bar is in
effect. Then changing the list elements will allow the new list to be
scrolled.
If this reflects my ignorance of REBOL/View, any ideas on how to rectify the
problem? If it is an apparent bug, I would like to submit it to RT.
Thanks.
--- Scott