Tree Widget: hilitedValue?

Richard Gaskin ambassador at fourthworld.com
Fri Jul 8 13:34:30 EDT 2022


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?

It wouldn't kill me to extract the arrayData and turn a hilitedElement 
path like:

   level1,level2,level3,

...into a proper array notation to obtain the value at:

   tArray["level1"]["level2"]["level3"]

But it seems such a common need I'm guessing I'm overlooking a more 
direct way to do that.

TIA -

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com



More information about the use-livecode mailing list