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

[REBOL] Dynamic Layout creation

From: riusa::email::it at: 15-Mar-2002 17:24

After some tests, I discovered I could create a block (dinamically, at runtime) and use this to create a layout. For example: if I want to create some radio buttons at runtime (I'm reading some records in a database, and every record generates a radio button), I can create a block and... ================================== myBlock: [backcolor gray across] append myBlock [radio label "test"] view layout myBlock ================================== the previous code functions. But how can I do to assign a different variable to every radio-button (see the hypotetical result below): var1: radio label "test 1" return var2: radio label "test 2" return var3: radio label "test 3" return I cannot create var... Can someone help me? Thanks! bye! -- Prendi GRATIS l'email universale che... risparmia: Sponsor: Il simbolo della rete ha compiuto da poco i 450 anni; Ordina il tuo portafortuna su! Clicca qui: