[REBOL] How to show text-list selection?
From: raimund::swol::de at: 18-Nov-2000 12:09
Hi!
I am playing around with rebol view and did not found an answer to the
following question: How can I redisplay an element with updated contents? The
following examples illustrates what I am trying to do:
------------------------------ example -------------
REBOL [
Title: "Simple List View"
File: %list-view.r
Date: 18-Nov-2000
Author: "Raimund Dold"
Purpose: {Example of a simple list viw.}
]
data-block: ["Wilhelm" "Helge" "Werner" "Fritz"]
selection: make block! 100
view layout [
text-list data data-block [
selection: pick data-block index? find data-block value
show tl2
]
tl2: text-list selection
]
print selection
------------------------------ example -------------
I can print the selection afterwards but the show tl2 seems not to have an
effect??
Thanx
Raimund
--
<--------------------------------------------->
42 war schon immer einge gute Antwort;-))