[REBOL] Re: 'text-list information please!
From: ammonjohnson:yaho:o at: 27-Dec-2001 15:55
This might help, it is a text-list with a custom update function created by
Gregg Irwin (Excellent Job!)
s: stylize [obj-list: text-list 125x240
update-slider: does [
sld/data: 0 ; reset slider to top
sn: 0 ; force text to re-display correctly
sld/redrag lc / max 1 length? head lines
My-Lay: layout [
list: obj-list "Some Text" "For The List"
button "Change list" [
list/lines: ["Some Other" "Text" "For Example"]
----- Original Message -----
From: "alan parman" <[reboler--programmer--net]>
Sent: Thursday, December 27, 2001 1:48 PM
Subject: [REBOL] 'text-list information please!
> What holds the data for the section of the text-list/data that is actually
> I've "probe mold"-ed and "probe first"-ed til I'm blue in the face and
can't seem to find it.
> I am using the following function to change the data in a text-list and
everything seems okay except for what is actually show in the list.
> If you scroll down in a long list, then change the list, everything
changes except what part of the list is currently shown. I need to move the
slider to jump to the top of the list.
> function follows:
> tell-list: func [fce value][
> append clear fce/data copy value
> clear fce/picked
> fce/sld/data: 0
> fce/line-list: none
> fce/sld/redrag fce/lc / max 1 length? head fce/lines ;resets slider size
> show fce
> Sign-up for your own FREE Personalized E-mail at Mail.com
> 1 cent a minute calls anywhere in the U.S.!