scResetObjectCache

Typecommand
Dictionarylibrary.smartcrumbsvcw
LibrarySmartCrumbsVCW
Syntax
scResetObjectCache <pType>,[<pKind>],[<pStyle>]
Associationscom.livecode.library.smartcrumbsvcw
Summary

To reset the cache for an object type.

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

The object type, which must be one of the LiveCode objects. Example stack,card,button,field,scrollbar...., cannot be the abbreviation..

pKind

This parameter is for widgets only and is the value of their Kind property.

pStyle

This parameter is only for those objects that have the style property. In this parameter, you pass the style of that object you want to reset the cache for.

Example
scResetObjectCache "widget","com.livecode.widget.polygrid"
scResetObjectCache "card"
scResetObjectCache "stack", ,"palette"
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 scResetObjectCache command to reset the cache that the library creates for each object type and style, for those with the latter property. This cache is used to compare the default properties that the object will have, so only those that are different from those in this cache are saved.

Tagsversion control