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

VID questions (text-list, recursive show) and report of a strange behavi

 [1/2] from: geza67::freestart::hu at: 27-Aug-2001 18:07


Hello REBOLers, I have some /View-related questions and a strange observation. 1. Is there a not-so convoluted way (e.g. by a refinement) to get the selection's index number from a single selection text-list or index numbers (in a block e.g.) in case of multiple selection text-list? The /picked refinement gives back unfortunately the selected entry's text as a result. Now I use a rather ugly "conversion" code like this to find the index: index-value: index? find list-items/lines form list-items/picked NB: this one does NOT work in case of a multi-select list!! 2. How can I disable the multiple selection capability in a text-list ? 2. Also, is there a more elegant REBOlish :-) way to highlight/select item(s) in a text-list like composing an appropriate /picked block by hand? list-items/picked: compose [(list-items/lines/1)] 3. How to "show/deep" an entire panel (with ALL child faces / child panels inside) ? Is there a more elegant way than looping through the faces and showing them individually? 4. Bug or only the lack of feature? Inside a layout, setting block of words to block of words does not work in REBOL/View/Pro 1.2.0.3.1 8-May-2001 under Windows 9x : field1/text: something1 field2/text: something2 field3/text: something3 works, but the more elegant mapping set [field1/text field2/text field3/text] [something1 something2 something3] crashes with error: ** Script Error: Invalid argument: field1/text ** Where: func [face value][ ... -- Best regards, Geza Lakner MD mailto:[geza67--freestart--hu]

 [2/2] from: ammoncooke::yahoo::com at: 27-Aug-2001 11:29

Re: VID questions (text-list, recursive show) and report of a strangebeh


<Snip...>
> 2. How can I disable the multiple selection capability in a text-list
?
<Snip...> I want to know how to enable multiple selelection capability. ;0 I have noticed though that if you have multiple instances of the same value, all of the instances will be highlighted, but only the one you click on will appear in the text-list1/picked list. HTH Ammon