tree view widget

Klaus major-k klaus at
Wed May 18 10:00:55 EDT 2016

Hi Ali,

> Am 18.05.2016 um 15:51 schrieb Ali Lloyd <ali.lloyd at>:
> Hi Klaus,
> Although we currently have no plans to do that ourselves,it shouldn't be
> too hard to turn the string that's used for the tree view into a property
> of the widget, since it is almost completely independent of the rest of the
> code.
> You'd just need to define a new member variable (say mAddText), set up a
> property for it and replace
> paintText("Add new element", "left", tTextRect, false, false)
> with
> paintText(mAddText, "left", tTextRect, false, false)

hm, I was really hoping that YOU would do this!? 8-)

Come on, I think that LC should NEVER EVER hardcode any english string, n’est-ce pas?
We already have this problem on mobile with:
mobilePick "A" & return & "B" & return & "C", 1, "cancelDone"
Where we will have the english buttons „Cancel“ and „Done“ even on localized systems. :-/
I already bug-reported that.

Things like this will make our apps look amateurish, as if we forgot the last bit of translation!

> On Wed, May 18, 2016 at 1:02 PM Klaus major-k <klaus at> wrote:
>> Hi all,
>>> Am 17.05.2016 um 21:32 schrieb J. Landman Gay <jacque at
>>> The array is malformed. The script should be:
>>> on mouseUp
>>> ...
>>> end mouseUp
>>> Note the square brackets around each sublevel.
>> yep, that worked great, thanks!
>> Question:
>> Any chance we will be able to TRANSLATE the
>> „Add new element“ string?
>> Yes, not all of our users speak english, although the
>> mothership seems to presume this... 8-)


Klaus Major
klaus at

More information about the Use-livecode mailing list