[REBOL] Re: Dynamic scroller step adjustment
From: brett:codeconscious at: 26-Feb-2004 20:37
Hi Gerard,
Try the Scroll-para function. I've changed your code to use it. By the way,
in an action block, the Face variable refers to the face of the action.
win: layout [
across
a: area 300x100 edge [
size: 2x2
] para [
scroll: 0x0
]
s: scroller 15x100 [scroll-para a face]
return
s2: scroller 300x15 [scroll-para a face]
]
a/text: copy {}
for Ligne 1 10 1 [
append a/text reduce ["Ligne " Ligne " : "]
for Col 1 20 1 [
append a/text reduce [Col " "]
]
append a/text reduce ["^/"]
]
view win
Regards,
Brett.