last control

Mike Bonner bonnmike at gmail.com
Sat Aug 22 10:30:49 EDT 2015


selecting the last control of group doesn't work in any version I've
tested. (various 6, and 7.0.6)
They compile fine, but the runtime error is this:

      executing at 8:22:40 AM
Type Chunk: no such object
Object Button
Line select last control of grp 1
Hint 1

Strangely, the last control in my test group is a button, so apparently the
last control IS found (to some extent) but inaccessible this way?  Works
fine sans grouping.

Its easy enough to work around, but it should work I think. Until its
fixed: select control (the number of controls in group 1) of group 1

On Sat, Aug 22, 2015 at 6:16 AM, Peter TB Brett <peter.brett at livecode.com>
wrote:

> On 2015-08-22 11:43, jbv at souslelogo.com wrote:
>
>> Hi list
>>
>> I have a group made of 40 buttons.
>> These 2 lines run fine :
>>    select first btn of grp "myGroup"
>>    select last btn of grp "myGroup"
>>
>> But only the first of the 2 following lines works, the
>> second one returns a compilation error :
>>    select first control of grp "myGroup"
>>    select last control of grp "myGroup"
>>
>> I am using LC Community 6.5.2 on Mac.
>> Is it worth filing a bug report ?
>>
>
> Can you reproduce the problem in a current version of LiveCode?
>
>                          Peter
>
> --
> Dr Peter Brett <peter.brett at livecode.com>
> LiveCode Engine Development Team
>
> LiveCode on reddit! <https://reddit.com/r/livecode>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list