updating two text-list's
[1/4] from: gschwarz::netconnect::com::au at: 6-May-2007 20:06
I have been running an old version of Rebol on my home computer.
The other day I updated view and now one of my programs does not work.
Below is some test code, the picked line in the main text-list is not updated in the
sub list.
view layout [
maps: text-list "A" "B" "C" "D" [
sub-listing/lines: maps/picked show sub-listing
]
sub-listing: text-list "Testing"
]
I will keep looking for the answer because it must be simple.
Version View 1.3.2.3.1
Regards,
Greg Schwarz
[2/4] from: btiffin::rogers::com at: 6-May-2007 16:57
Hi Greg,
Take a look at
http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlMJQS
It may help, or at least hint.
Cheers,
Brian
On Sunday 06 May 2007 06:06, Greg Schwarz wrote:
[3/4] from: btiffin::rogers::com at: 6-May-2007 17:15
Hi (again) Gregg,
I meant to include these snippets, but got a little ahead of myself when I was
testing the url link in the original posting...
REBOL []
view layout [
maps: text-list "A" "B" "C" "D" [
clear sub-listing/data append sub-listing/data maps/picked show
sub-listing
]
sub-listing: text-list "Testing"
]
Or
REBOL []
view layout [
maps: text-list data ["A" "B" "C" "D"] [
clear sub-listing/data append sub-listing/data maps/picked show
sub-listing
]
sub-listing: text-list data ["Testing"]
]
Is at least one solution...
Sorry for clogging the list, and no doubt you already figured it out.
Brian
On Sunday 06 May 2007 16:57, Brian Tiffin wrote:
[4/4] from: gschwarz::netconnect::com::au at: 7-May-2007 20:34
Thank you Brian. :-)
All I had to do was change /lines to /data in the old program.
Regards,
Greg