Re: Tree Widget: hilitedValue?

2022-07-10 Thread Brian Milby via use-livecode
If pPath[1] = “a” and pPath[2] = “b” Then pArray[pPath] is the same as saying pArray[“a”][“b”] I’m not sure when it was added. It is relatively recent (7 or 8 I think, but not sure) Thanks, Brian Sent from my iPhone > On Jul 10, 2022, at 4:46 PM, J. Landman Gay via use-livecode > wrote: >

Re: macOS Ventura (13.x.x)...

2022-07-10 Thread J. Landman Gay via use-livecode
On 7/10/22 12:26 PM, Colin Holgate via use-livecode wrote: With 9.6.3 Community version, showing the message box, or the script window of a button, crashes LiveCode right away. Sounds like the OSS community has some work to do, if there is anyone with the skills still there. -- Jacqueline

Re: Tree Widget: hilitedValue?

2022-07-10 Thread J. Landman Gay via use-livecode
On 7/9/22 7:11 PM, Brian Milby via use-livecode wrote: function getValue pArray, pPath split pPath by comma return pArray[pPath] end getValue I keep forgetting we can do that. It's cool, but I don't understand how it works. Splitting the path by comma produces a numbered array, and

Re: Tree Widget: hilitedValue?

2022-07-10 Thread Richard Gaskin via use-livecode
Brian Milby wrote: > You could also turn the path into an array (but lose the error > checking above): > > function getValue pArray, pPath > split pPath by comma > return pArray[pPath] > end getValue Thanks, Brian. I keep forgetting we can use an array as an element specifier. Has that

Re: macOS Ventura (13.x.x)...

2022-07-10 Thread Paul Dupuis via use-livecode
On 7/10/2022 1:26 PM, Colin Holgate via use-livecode wrote: With 9.6.3 Community version, showing the message box, or the script window of a button, crashes LiveCode right away. Opening a stack made in 9.6.3 with Monterey, does show 10.16.0 when run in 9.6.3 in Ventura. Thank you.

Re: macOS Ventura (13.x.x)...

2022-07-10 Thread Colin Holgate via use-livecode
With 9.6.3 Community version, showing the message box, or the script window of a button, crashes LiveCode right away. Opening a stack made in 9.6.3 with Monterey, does show 10.16.0 when run in 9.6.3 in Ventura. > On Jul 10, 2022, at 10:58 AM, Paul Dupuis via use-livecode > wrote: > > Is

macOS Ventura (13.x.x)...

2022-07-10 Thread Paul Dupuis via use-livecode
Is anyone out there in Livecode land running a developer beta of macOS Ventura (13.x.x)? If so, I am hoping you can perform a quick test: systemVersion() returns 10.16 for macOS Big Sur or Monterey under Livecode 9.6.7 and earlier (in the 9.6.x versions). The systemVersion() bug was just