controlNames deprecated??

panagiotis merakos merakosp at gmail.com
Fri Jul 28 14:33:36 EDT 2017


Moreover, the "controlNames" (as well as the "controlIDs") have never been
documented:

http://quality.livecode.com/show_bug.cgi?id=11901

Best,
Panos
--

On Fri, Jul 28, 2017 at 7:30 PM, panagiotis merakos <merakosp at gmail.com>
wrote:

> Hi Jacque,
>
> Control names within a group can be obtained by:
>
> "the childControlNames of group myGroup"
>
> Best,
> Panos
> --
>
>
> On Fri, Jul 28, 2017 at 7:21 PM, J. Landman Gay via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> On 7/28/17 12:52 PM, Bob Sneidar via use-livecode wrote:
>>
>>> I can get the controlnames of a card, but at first blush the list does
>>> not include button names. However it*does*  list a great many numbers of 4
>>> digits. So I tried looking up controlNames in the dictionary and there is
>>> no entry for it, at least not by using the find function.
>>>
>>
>>
>> I just tested this and it looks like the controlNames of a card only
>> return the names of controls whose parent is the card. Controls within a
>> group are listed by ID. I'm not sure if this is correct or not, I can see
>> the logic, but it would seem if the parent has to be the card then controls
>> within a group shouldn't be in the list at all.
>>
>> My test card used a background group; it might be different for a card
>> group.
>>
>> --
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
>>
>>
>> _______________________________________________
>> 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