Going MAD with customKeys!!!!!

David Burgun dburgun at dsl.pipex.com
Wed Nov 2 10:03:41 EST 2005


>Hi Dave,
>
>Assuming that NAMEA is a variable and cp_PrefsArray_NAMEA a custom 
>property set:
>To delete this specific custom property set:
>do "set the cp_PrefsArray_" & NAMEA && "of this stack to empty"
>
>To delete all custom property sets you created:
>set the customPropertySets of this stack to empty
>
>To delete standard custom keys:
>set the customPropertySet of this stack to empty
>set the customKeys of this stack to empty
>
>Seems that your trouble comes from the fact that the custom property 
>sets you create have not to be handled in the same way that the 
>standard custom keys ;-)

Ok, thanks a lot for this. I am doing something that could be handled 
in a better way? This was the only way I could find that would allow 
me to create Array's dynamic arrays and store them as 
customProperties.

I don't mind chaning the way I do this if there is a better way.

Thanks a lot
Dave


>
>Le 2 nov. 05 à 15:26, David Burgun a écrit :
>
>>"cp_PrefsArray_NAMEA"
>>"cp_PrefsArray_NAMEB"
>>"cp_PrefsArray_NAMEC"
>>
>>But I don't know the names (NAMEA,NAMEB,NAMEC) in the script. I 
>>just want to empty them all and start again. I thought that setting 
>>customKeys to empty should do this - according to the docs anyway. 
>>Is this correct? If not how can I do this?
>
>Best Regards from Paris,
>
>Eric Chatonet.
>----------------------------------------------------------------
>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
>
>Free plugins and tutorials on my 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
>----------------------------------------------------------------
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list