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

[REBOL] Re: Picking items in a text list

From: carl:cybercraft at: 18-Jun-2001 21:40

On 18-Jun-01, [philb--upnaway--com] wrote:
> Hi list, > Given a I have shown text list is it possible to programmatically > items in it? (ie get them highlighted in yellow and appear in > text-list/picked?) > Cheers Phil
If I've understood what you meant, then yes. Try this... view layout [ a-list: text-list "aa" "bb" "cc" "dd" "ee" "ff" "gg" across button "aa - dd" [ clear a-list/picked insert a-list/picked ["aa" "dd"] show a-list ] button "cc - dd - ff" [ clear a-list/picked insert a-list/picked ["cc" "dd" "ff"] show a-list ] ] -- Carl Read [carl--cybercraft--co--nz]