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

[REBOL] text-list

From: hijim:pronet at: 25-Aug-2001 17:25

REBOL [] view layout [ a: text-list "[jimc--pronet--net]" "[lookforyourself--egroups--com]" [rebol-list--rebol--com] button "Test" [print a/text] ] This always prints the first item in the list, [jimc--pronet--net], no matter which item is highlighted. How do I get it to return and print the value of the item that is highlighted. There is no help on line-list. I have found out how to layout a text-list by examples in various documentation on the website. NONE of these tells how to extract a value from it. Would that be so hard? Tell how to use it as well as how to lay it out! This has got to be very simple. There is a request-list, which may be better for an email address book, but how to set that up? The help below isn't much help to a beginner. Thanks, Jim
>> ? request-list
USAGE: REQUEST-LIST titl alist /offset xy DESCRIPTION: Requests a selection from a list. REQUEST-LIST is a function value. ARGUMENTS: titl -- (Type: any) alist -- (Type: any) REFINEMENTS: /offset xy -- (Type: any)