Possible bug in inform layout ??
[1/2] from: philb:upnaway at: 7-Jun-2001 11:07
Hi Guys,
Consider the following programs
rebol []
a: ["a" "b" "c" "d"]
b: 0
inform layout
[
tl: text-list data a 100x200
button "change"
[
append a b
b: b + 1 show tl
]
]
This program correctly adds items to the text list.
If I add another inform window then the list doesnt get updated
rebol []
a: ["a" "b" "c" "d"]
b: 0
inform layout
[
tl: text-list data a 100x200
button "change"
[
inform layout [button "OK to add" [hide-popup]]
append a b
b: b + 1
show tl
]
]
Anyone got any ideas?
CC'd to feedback
Cheers Phil
[2/2] from: sterling::rebol::com at: 6-Jun-2001 20:24
Danger! Danger, Will Robinson! Danger!
Don't go popping modal boxes from modal boxes. That's just wrong.
Hide the first one before popping the other and and you should be
ok...
do-inform: does [
inform layout [
button "Next inform" [
hide-popup
inform layout [button "Back" [hide-popup do-inform]]
]
]
]
Sterling