Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] updating a drop list

From: fergus4::bellatlantic::net at: 20-Dec-2005 14:15

I'm want to be able to update the data in a drop list on the fly but I'm having trouble. Basically my code looks like this: Names: ["Bob" "Jack" "Sue"] name_list: name_list display-face: layout [ txts "names:" nam: choi data name_list ] If I change the name_list block by adding a name: name_list: [] names: ["Bob" "Jack" "Sue" "Mary"] name_list: names and refresh the face: show display_face It does not update. I've played around with the "Copy" and I've gotten the list to append to it's self so my list is double in size but just repeats but any added elements are not present. I know the face is being refreshed so my problem is were "name_list" does not seem to be coping the new block.