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

[REBOL] Re: text-list problem

From: greggirwin::mindspring::com at: 25-Apr-2003 11:06

Hi Gregory, GS> Have a small data base and I want to display first field in one text-list, GS> and when you click on a number in this text-list displays the next field GS> in the second text-list. How about something like this? data-base: [ "1" [ address [ "123 bla st" "45 High road" ]] "2" [ address [ "34 first st" "45 High road"]] "3" [ address [ "56 Wood Rd" "45 High road" ]] "4" [ address [ "6 Small Rd" "45 Small road" ]] "5" [ address [ "7 Big Rd" "5 Big road" ]] "6" [ address [ "6 Low Rd" "4 High road" ]] ] ;end of data-base data-list: extract data-base 2 address-list: extract/index data-base 2 2 test: layout [ across data-f1: text-list 40x50 data data-list [ data-f2/line-list: none data-f2/lines: second pick address-list index? find data-list last data-f1/picked show data-f2 ] data-f2: text-list 230x50 ] view test -- Gregg