Rebol Talk Forum  |  REBOL Discussions  |  REBOL View  |  Topic: Setting choice?
Pages: [1] Print
Author Topic: Setting choice?  (Read 344 times)
kpeters
Newbie
*
Offline Offline

Posts: 24


View Profile
Setting choice?
« on: August 01, 2007, 08:38:32 PM »

Hi ~

tried in vain to find info on how to set a choice face to a given value.

Here's what I found to work after playing a bit but I am wondering if that's the correct way??

TIA,
Kai

Code:
   selector: layout [ choice "A" "B" "C" ]
   ; set it
   selector/text: "B" selector/data/1: "B" show selector

Logged
Pages: [1] Print 
Rebol Talk Forum  |  REBOL Discussions  |  REBOL View  |  Topic: Setting choice?
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 10:31:41 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2295 Posts in 593 Topics by 3765 Members
Latest Member: vk1n0vce

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

RT design by Defiant Pc