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

[REBOL] Re: Rebview: How to update text in Window?

From: SunandaDH::aol::com at: 2-Jan-2005 4:08

Yvan:
> I hope this is the right place to post it? I'm new here > and a beginner with RebView
Yes it is. Welcome! I'd do something like below -- basically, added a button to the layout to cycle around the texts. a: ["First text" "second text" "last text"] unview/all view layout [ tb: text a/1 button "next" [ tb/text: select a tb/text if none? tb/text [tb/text: a/1] show tb ] ] Of course, depending on what you are trying to do, this may be the solution unview/all view layout [ rotary "First text" "second text" "last text" ] Sunanda