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

[REBOL] toggle groups

From: being_doug::yahoo::com at: 2-Aug-2001 22:29

Given: REBOL [Title: "test"] view layout [ t1: toggle "Top" of 'tg t2: toggle "Middle" of 'tg t3: toggle "Bottom" of 'tg button "loop" [foreach tog 'tg2 [tog/text: "Clear" show tog]] ] The code for the button doesn't work: ** Script Error: foreach expected data argument of type: series ** Where: func [face value][foreach tog 'tg2 [tog/text: "Clear" show tog]] ** Near: foreach tog 'tg2 [tog/text: "Clear" show tog] What is 'tg anyway? Is there any way to loop through 'tg? -- doug edmunds