A special global that specifies whether to save changes to the current property profile when you switch property profile.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 2.0 Security:
# Syntax
gRevProfileReadOnly
# Examples
global gRevProfileReadOnly if gRevProfileReadOnly is false then switchToLargeFonts
# Description
Set the gRevProfileReadOnly variable to false when configuring a property profile, so that changes you make to an object properties are saved in the current property profile.
Each object can have one or more profiles, which include settings for each property in the object's properties property. The gRevProfileReadOnly variable controls what happens when you set an object property profile, make changes to its properties, then switch to a different property profile.
If this global variable is false, the profile is re-saved when you switch profiles, and any property changes you've made are saved in the profile. If it's true, the profile isn't saved when you switch to another profile.
The gRevProfileReadOnly global can also be changed in the Preferences dialog box:
1. Choose LiveCode ? Preferences from the menubar. 2. Choose "Property Profiles" from the menu at the top. 3. Click "Don't save settings when switching profiles".
# Tags
# See
- **property:** properties - **command:** answer, ask - **glossary:** object, property, variable, property profile, global - **library:** Profile library