Rebol Talk Forum  |  REBOL Discussions  |  REBOL View  |  Topic: "Loading" a choice with a sequence of strings
Pages: [1] Print
Author Topic: "Loading" a choice with a sequence of strings  (Read 746 times)
kpeters
Newbie
*
Offline Offline

Posts: 24


View Profile
"Loading" a choice with a sequence of strings
« on: August 03, 2007, 04:17:38 PM »

The code below does not work - how can I achieve "loading" a choice with a sequence of string?
Why was this way chosen over supplying a block of strings as parameter?

TIA,
Kai


worktypes: [ "GA" "Group Activity" "DCC" "Direct Client Contact" "PE" Public Education" ]

load-worktypes: forskip worktypes 2 [ worktypes/2 ]

mgmt-form: layout [ lab "Work Type" worktype: choicel 200  load-worktypes return ]
Logged
kpeters
Newbie
*
Offline Offline

Posts: 24


View Profile
Re: "Loading" a choice with a sequence of strings
« Reply #1 on: August 03, 2007, 07:06:17 PM »

Figures something out that seems to do the trick - would still like to know if that's one of the proper ways?

Code:
tmp: copy []
forskip worktypes 2 [ append tmp worktypes/2 ] 
sf-worktype/texts: copy tmp
sf-worktype/text:  copy "Select" show sf-worktype

Logged
Pages: [1] Print 
Rebol Talk Forum  |  REBOL Discussions  |  REBOL View  |  Topic: "Loading" a choice with a sequence of strings
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 30, 2008, 07:01:06 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2235 Posts in 583 Topics by 1757 Members
Latest Member: Xzycdysz

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc