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

[ALLY] conditional button?

From: gregco::pressroom::com at: 20-Sep-2000 13:25

A simple question: Are conditional statements possible within Layout objects? This (much simplified) attempt to create a conditional button does not work: rebol[] fact: 1 view layout[button "number 1" [] if (fact = 1) [button "number 2" [] ] ] Must the conditional statement be outside the Layout object and act on alternate complete Layout specs? Or is there a n easier way to do it? Thanks, Greg Coughlan