scIgnoreAllProperties

Typecommand
Dictionarylibrary.smartcrumbsvcw
LibrarySmartCrumbsVCW
Syntax
scIgnoreAllProperties <pLongId>, [<pIgnoreInCascade>]
Associationscom.livecode.library.smartcrumbsvcw
Summary

This command is used to tell the SmartCrumbsVCW library to ignore changes all properties of one or more objects except the script

OSmac, windows, linux, ios, android
Platformsdesktop, mobile, web
Parameters
NameTypeDescription
pLongId

The long id of the object

pIgnoreInCascade
  • "children": to indicate if it applies to the children of the object that have this property.
  • "type": to specify that it applies to all objects of this type on the stack owned by the object passed in the first parameter
Example
# All changes to property values are ignored.
scIgnoreAllProperties the long id of button 1
# All changes to group property values and all child controls are ignored.
scIgnoreAllProperties the long id of group"fotter", "children"
# All changes that the values of the properties of the fields in this stack may undergo are ignored.
scIgnoreAllProperties the long id of field "table1", "type"
RelatedCommand: scExportObject, scImportMainStack, scIgnoreProperty, scIgnoreAllProperties, scStopIgnoreProperty, scStopIgnoreAllProperties, scCreatePlugin, scInstallPlugin, scUninstallPlugin, scEnabledPlugin, scDisabledPlugin, scSetPluginSetting, scCleanTrash, scResetObjectCache, scCleanTrash, scResetObjectCache
Function: scIgnoreProperties, scListPlugins, scGetPluginSetting, scGetGUID, scGetPathLog, scGetGUID
Description

Use the scIgnoreAllProperties command to tell the SmartCrumbsVCW library that it should not update changes to the value of all properties in one or more objects.

The only property that SmartCrumVCW will never ignore is the script.

Important  The SmartCrumbsVCW library does not store the left, top, right, bottom, location, width and height properties of the cards or of the other controls. Instead it will only save the rectangle of the controls that are inside the card. While for the stacks it will not keep left, top, right, bottom, location and rectangle. Saving the width, height and setting the location to the center of the screen when restoring the stack.  We must take the above into account when deciding which property we want to be ignored.

Tagsversion control