Programmer's Reference
A special SubApplication class protocol is provided to enable
applications to reconfigure in response to Locale
initialization.
- The current Locale is determined based on the platform default
locale.
- The message preStartUp is sent to all loaded (sub)applications
in prerequisite order.
- The message localize is sent to all loaded (sub)applications in
prerequisite order.
- The message startUp is sent to all loaded (sub)applications in
prerequisite order.
Applications can override the localize method to perform any
required locale-specific configuration.
- Note:
- The Locale class is initialized automatically at image startup,
and can be reinitialized manually by evaluating Locale
initializeCurrentLocale. For example, when using Windows
3.11, you might want to update the current locale after changing the
settings in the International control panel.
- localize
- This message informs currently loaded Application and
SubApplication classes that the current locale has been
changed. This message is sent to all loaded Application and
SubApplication classes on image startup, and each time the current
locale is successfully initialized (that is, by evaluating Locale
initializeCurrentLocale).
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]