Making Changes to Pictures at Run Time

During run time, VBA allows you to write a script to change the properties of any object contained in a picture. These changes are not written to the stored file, but are temporary changes made to the displayed picture in memory. If picture caching is disabled, those changes are gone when you close the picture.

When you enable picture caching, some of your run-time changes are preserved while your picture remains cached. If you change any object properties (such as foreground color) through VBA or make changes to a chart through a chart dialog in run mode, you will still see those changes when you close the picture and reopen it from cache. However, your changes are not written to the stored file, and once the picture drops from the cache, your changes are lost. If you use scripts to make those changes, you should retest your displays with caching enabled.

All other behavior involving tag groups, or changing alarm summary sort or filter configurations, are not preserved regardless of whether picture caching is enabled or disabled.

How Do I...