Custom property list table

Eric Chatonet eric.chatonet at sosmartsoftware.com
Fri May 27 13:55:43 EDT 2005


Hi Dennis again,

My plugin "Objects Picker" uses some code like the following to get  
the properties of an object of a specified type:

on mouseUp
   local tObj, tProps, tPropList
   -----
   put the long ID of btn 1 into tObj -- or whatever you want
   put ObjBuiltInProps(tObj) into tProps
   repeat for each line tProp in tProps
     do "put the" && tProp && "of" && tObj && "& cr after tPropList"
     put tProp & colon & space before line -1 of tPropList
   end repeat
   put tPropList
end mouseUp
------------------------------------
function ObjBuiltInProps pObj
   local tPropArray, tProps
   -----
   put the properties of pObj into tPropArray
   put the keys of tPropArray into tProps
   sort tProps
   return tProps
end ObjBuiltInProps

May be help you.
Best regards from Paris,

Eric Chatonet.

Le 27 mai 05 à 16:16, Dennis Brown a écrit :

> Yes, I meant built-in  not custom properties.  I guess I should  
> wake up first before typing in the morning.  I see so many posts  
> about this and that property needing to be set to solve newbie  
> problems, that I thought it would be nice to have a cheat-sheet of  
> them to refer to.  It seems incredible that nobody has done this  
> before.

----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------



More information about the use-livecode mailing list