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

how to update text-list?

 [1/2] from: carl:cybercraft at: 18-Jan-2002 11:55

On 18-Jan-02, Patrick Philipot wrote:
> Hi, Rebollers > How can one update a text-list? Surely a simple thing but ... I've
<<quoted lines omitted: 7>>
> ] > view center-face win
Try this... b-one: ["one" "two" "three"] b-two: ["red" "green" "blue"] win: layout [ tl: text-list data copy b-one button "One" [append tl/data copy b-one show tl] button "Two" [append tl/data copy b-two show tl] button "Clear" [clear tl/data show tl] ] view center-face win Note I added 'copy to the 'text-list definition. If I hadn't the 'b-one block would've been the same block as 't1, and so changed as well when the buttons were clicked.
> Patrick >
>, l'email gratuit le plus complet de l'Internet ! vos > emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... >
-- Carl Read

 [2/2] from: rebol665:ifrance at: 18-Jan-2002 8:36

Hi Carl, Thanks a lot. I will make a FAQ on that. Patrick

  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted