revSetCardProfile | ||||||||||
Type | command | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Associations | profile library | |||||||||
Summary | Changes the current profile used for a card and all its objects. | |||||||||
Introduced | 2.0 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, server, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Related | Keyword: card Property: properties Command: revSetStackFileProfile Object: stack Glossary: object, property, current card, Standalone Application Settings, property profile, command, standalone application Library: Profile library | |||||||||
Description | Use the revSetCardProfile command to change property settings on a card to a different set of stored settings.
A profile is a set of property settings for an object. You create a profile for an object, and give it a name, using the Property Profiles pane in the object's property inspector. When you change that object to use a profile, the properties you specified in the profile are changed to the settings you specified. This helps you quickly switch the appearance and behavior of the object without needing to set its properties individually. The revSetCardProfile command changes the profile of the current card of the specified stack and all the objects on that card. If an object does not have a profile with the specified profileName, the object's properties are not changed.
| |||||||||
Tags | properties |