Timeformatseparatorsource – Echelon OpenLNS User Manual

Page 389

Advertising
background image

OpenLNS Programmer's Reference

352

Syntax

formatLocale.ShortTimeFormat = timeFormat

Element

Description

formatLocale

The FormatLocale object being acted

upon.

timeFormat

The format used to display dates. The

allowable characters are "H", "m", "s"

and the character specified as the

TimeFormatSeparator

property.

Data Type

String.

Read/Write

Read/write.

Added to API

LNS Release 3.20.

TimeFormatSeparatorSource

Summary

Determines whether OpenLNS should assign the

TimeFormatSeparator

property a value automatically based

on the Windows control panel Regional Options settings.

Availability

Local, full, lightweight, and independent clients.

Syntax

formatLocale. TimeFormatSeparatorSource = source

Element

Description

formatLocale

The FormatLocale object being acted

upon.

source

The value of the

TimeFormatSeparator

property.

The possible values for this element,

which are contained in the

ConstFormatLocaleSource

constant,

are as follows:

0 lcaFormatLocaleSource

UserDefaultRegionalSetting

Select this value to have OpenLNS set

the associated property automatically,

based on the Windows regional

settings set by the user on the

computer running your application.
A user can change the regional

settings on a computer from the

system defaults using the Windows

control panel Regional Options applet.
This is the default.
1 lcaFormatLocaleSource

SystemDefaultRegionalSetting

Select this value to have OpenLNS set

the associated property automatically,

Advertising