Tree Widget: hilitedValue?
J. Landman Gay
jacque at hyperactivesw.com
Sat Jul 9 17:07:01 EDT 2022
On 7/9/22 3:17 PM, J. Landman Gay via use-livecode wrote:
> On 7/8/22 12:34 PM, Richard Gaskin via use-livecode wrote:
>> I see the Tree widget supports a hilitedElement property, which is useful for managing the
>> selection in the UI.
>> Is there a one-liner for obtaining not the element path but the value?
> I'm using an older version, but here the hilitedElement includes the values of each element in
> the path.
I misunderstood, you don't mean just the names of the elements. The value shows up as part of
the tree unless you turn off "show values". I think you'll have to parse the array to actually
get the values in a leaf.
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode