Custom Props Set

dunbarx at aol.com dunbarx at aol.com
Wed Feb 5 23:35:36 EST 2014


Hi. 


Is the entity VimsEventChannels" a custom property? If so it must be referenced with  "the".


Do you have it as a customPropertySet? If so, customPropertySets are not arrays, so getting the keys of it will not give you much..


But you can get the value of a custom property within a custom property set using array notation:


answer the yourPropertySet[yourCustomProperty}


Where "yourCustomProperty" is a custom property within the set "yourPropertySet",


See the dictionary for these things. Do I have this right at all?


Craig Newman








repeat for each line tType in the keys of VimsEventChannels of grp 
"EventsGroup"
         answer tType
      end repeat





-----Original Message-----
From: Nakia Brewer <Nakia.Brewer at westrac.com.au>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Wed, Feb 5, 2014 10:48 pm
Subject: Custom Props Set


Hi,

I have a grp with Custom Property Set that has multiple Custom Properties within 
it.

I want to be able loop through each of these custom properties within this set 
but I am having issues doing so.
(It's just an error in my syntax I think)

      repeat for each line tType in the keys of VimsEventChannels of grp 
"EventsGroup"
         answer tType
      end repeat



COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain 
confidential proprietary or privileged information. If you are not the intended 
recipient, you are strictly prohibited from using, reproducing, disclosing or 
distributing the information contained in this email without authorisation from 
WesTrac. If you have received this message in error please contact WesTrac on 
+61 8 9377 9444. We do not accept liability in connection with computer virus, 
data corruption, delay, interruption, unauthorised access or unauthorised 
amendment. We reserve the right to monitor all e-mail communications.

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list