Getting All the non grouped controls in a card
MisterX
b.xavier at internet.lu
Tue Aug 23 12:39:31 EDT 2005
>
> Actually, Eric, he was asking for those controls *not* in a
> group, but your code works with one minor adjustment (and a
> name change):
Ken is right...
but in the "basic object address" form it's much easier to read...
put the long name of cd 1 of stack "StackPath/StackName.rev" into thiscd
put the number of controls in thiscd into controlcount
repeat with x = 1 to controlcount
get the long name of the owner of control x of thiscd
if it is not thiscd then
put it & cr after controllist
-- or
put it into cdcontrols[x]
end if
end repeat
and there more variations im sure ;)
just replace the long id|name for the id|name match ;)
Oh yes, all these types of things are already in GIM
since 2 months - available for the curious...
cheers
Xavier
http://monsieurx.com/taoo - 90% of your scripting is done...
isn't it time you started getting the application put together faster?
More information about the use-livecode
mailing list