Okay I see you are setting the tooltip. 

set the tooltip of widget "Tree View" to tDataA [1]

or whatever the element is. 

Bob S


> On Apr 23, 2021, at 11:13 , Bob Sneidar via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Is this what you are looking for? 
> 
> on mouseUp
>   put the arrayData of widget "Tree View" into tDataA
>   put tDataA [1] into tValue1
>   put tDataA [2] into tValue2
>   -- etc...
> end mouseUp
> 
> I am unsure of what you are trying to do. Are you trying to put the items of 
> a list into a tree view widget? 
> 
> put the arrayData of widget "Tree View" into tDataA
> put item 1 of tList into tDataA [1]
> put item 2 of tList into tDataA [2]
> -- etc...
> set the arrayData of widget "Tree View" to tDataA
> 
> you can do this in a loop of course. 
> 
> Bob S
> 
> 
>> On Apr 23, 2021, at 10:57 , Keith Clarke via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> Thanks for responding Henry. 
>> 
>> I did try that property when I found no hover capability on the Tree widget. 
>> I set the widget to read-only and scripted...
>> on actionInspect pPath
>> 
>>      put the arrayData of widget "Tree" into aContent
>> 
>>      replace comma with "][" in pPath
>> 
>>      answer aContent & "[" & pPath & "]"
>> 
>> end actionInspect
>> 
>> …however, like the highlightedElement property, this still returns the 
>> element’s key rather than its content, despite my feeble attempts at 
>> post-processing.
>> 
>> Hence the second part of my question which reveals my lack of array syntax 
>> knowledge! :)
>> Best,
>> Keith  
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to