Listing card objects

Ken Ray kray at sonsothunder.com
Sun Jan 26 19:22:01 EST 2003


Jim,

You can get them all by looping through "the controls", as in:

on mouseUp
  put "" into tListOfObjects
  repeat with x = 1 to the number of controls
    put the long id of control x into line x of tListOfObjects
  end repeat
  put tListOfObjects into fld "List of Objects"
end mouseUp

Hope this helps,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message ----- 
From: "Jim Hurley" <jhurley at infostations.com>
To: <use-revolution at lists.runrev.com>
Sent: Sunday, January 26, 2003 4:48 PM
Subject: Listing card objects


> Is there a transcript function which will return a list of the 
> current card objects: buttons, fields, graphics, images, backgrounds?
> 
> 
> Jim
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the use-livecode mailing list