Getting All the non grouped controls in a card
b.xavier at internet.lu
Tue Aug 23 11:39:31 CDT 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
put it into cdcontrols[x]
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...
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