controlids and controlnames properties

Peter M. Brigham pmbrig at gmail.com
Tue Dec 16 09:20:36 EST 2014


On Dec 15, 2014, at 4:06 PM, Peter Haworth wrote:

> A few days ago I was bemoaning the fact that there wasn't a way to get a
> list of control ids or names without a "repeat with x=1 to the number of
> controls of...."
> 
> 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.

This would be quite useful to me but when I try it in LC5.5.1:
put the controlnames of card 1 of stack "someStack"
I get empty. Similarly for controIDs.
Must have been introduced in a later version of LC5.5…

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig





More information about the use-livecode mailing list