beautypg.com

Copying resources – Echelon IzoT Resource Editos User Manual

Page 71

background image

IzoT Resource Editor User's Guide

63

1. The time format specifier does not support AM/PM time formats, so this type of time

format will be converted to a 24-hour format.

2. The time format specifier supports display of milliseconds, which is not defined in

Windows time styles. If supplied, the milliseconds field will be appended to the
seconds field, and separated from the seconds field by the Decimal Symbol character
from the Number tab of the Regional Settings.

The time and date format specifiers may only be used in localized formats as
described in Creating and Modifying a Resource Format.

Following are examples of the time and date localization functions.

E

XAMPLE

1:

A time format specifier from the SCPTmaxSntT#LO format definition:

SCPTmaxSndT#LO:

text(("%d ", day),

time(hour, minute, second, millisecond));

E

XAMPLE

2:

A date format specifier from the SNVT_date_cal#LO format definition:

SNVT_date_cal#LO: text(date(year, month, day));

Copying Resources

You can copy any resources in the resource catalog. You can copy resources to a new
resource file set, or copy them within the same resource file set if you created the original
resource file set. To copy a resource, follow these steps:

1. Right-click the resource to be copied and then click Copy on the shortcut menu.

2. Right-click the folder that will contain the copied resource, and then click Paste on

the shortcut menu.

3. If you are copying a functional profile, the resource editor will attempt to use the

same functional profile number (key) for the new profile. If the profile number is
already in use, you are given the option of overwriting the existing profile or using a
different profile number.

Resources may reference other resources in the same resource file set or in resource
file sets with numerically lower scopes and compatible program ID templates. If you
copy a resource to a new resource file set, some of the references may become invalid.
If the resource editor determines that a reference may be invalid, it removes the
index number from the reference. This gives you an opportunity to find the invalid
references and correct them. To fix an invalid reference, first ensure that the
referenced item is available within the new resource file set or within a resource file
set with a numerically lower scope and compatible program ID template. Then
change the invalid reference to the new resource.

If you are making additions to a standard functional profile, create a new functional
profile that inherits from the standard profile instead of copying and modifying the
profile. This enables your new profile to stay consistent with any changes to the
original profile. If you create a new profile by copying and pasting an existing profile,
any changes to the original profile that are made after you make the copy will not be