Skip to content

OnInitializeLocales - cBaseLocalControlHost

Sent when the cWebApp object is loaded to the client (the user loads the page)

Type: Event

Parameters

Parameter Type Description
sBrowserLanguage String Language code string reported by the browser as the preferred user language (for example `en-US, en')
iBrowserTimezoneOffsetMins Integer Timezone offset in minutes as reported by the browser

Syntax

Procedure OnInitializeLocales String sBrowserLanguage Integer iBrowserTimezoneOffsetMins

Description

This message is sent when the cWebApp object is loaded to the client (the user loads the page) and is intended to be overridden with custom logic to initialize localization options of your application.