controlids and controlnames properties

Geoff Canyon gcanyon at gmail.com
Mon Dec 15 17:07:01 EST 2014


Yes: the childControlIDs and childConbtrolNames only go one level down;
anything in a group will not be reported. the controlIDs and controlNames
list everything everywhere. So given this structure:

card id 1002
group id 1007 [1007]
|  button "Button" [1004]
|  button "Button" [1006]

put the controlIDs of card id 1002

1007
1004
1006

put the childControlIDs of card id 1002

1007

On Mon, Dec 15, 2014 at 3:56 PM, Dr. Hawkins <dochawk at gmail.com> wrote:
>
> On Mon, Dec 15, 2014 at 1:06 PM, Peter Haworth <pete at lcsql.com> wrote:
> >
> > By chance, I just discovered there is a controlids property and a
> > controlnames property that return the ids/names of all controls in a card
> > or group.
> >
>
> Is this different from the childControlIDs and childConbtrolNames
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> 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