customProperties | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image | ||||||
Summary | Specifies all the custom properties of an object that are in the current customPropertySet, along with their settings. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Property: customPropertySet, properties Command: set Function: propertyNames Glossary: command, object, property, key, value, custom property, statement, custom property set, array Control Structure: setProp | ||||||
Description | Use the customProperties property to set or retrieve all the custom properties of an object at once. The customProperties specifies the properties in the object's current customPropertySet. (The object can have other custom properties, which are accessed by switching to another customPropertySet.) You can get or change the value of a single custom property using array notation. For example, the following statement copies the entire set of custom properties from one card to another, changing only the custom property named "changedDate" :
To refer to a custom property set that is not the current customPropertySet, use array notation. For example, to get an array consisting of all the custom properties in a custom property set called "MyProps", use a statement like the following:
| ||||||
Tags | properties |