Shorttimeformatsource – Echelon OpenLNS User Manual

Page 387

Advertising
background image

OpenLNS Programmer's Reference

350

automatically update it with the new separator character for

you.
You can use the

ShortTimeFormatSource

property to

determine how the

ShortTimeFormat

property should be

filled in

.

Availability

Local, full, and lightweight clients.

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.

ShortTimeFormatSource

Summary

Determines whether OpenLNS should assign the

ShortTimeFormat

property a value automatically based on

the Windows control panel Regional Options settings.

Availability

Local, full, lightweight, and independent clients.

Syntax

formatLocale. ShortTimeFormatSource = source

Element

Description

formatLocale

The FormatLocale object being acted

upon.

source

The value of the

ShortTimeFormatSource 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

Advertising