Description
The culture format set by this function does not affect the DataWindow display. It is used only for rendering HTML, XHTML, and XML for the DataWindow control.
Applies to
Syntax
PowerBuilder
integer dwcontrol.SetCultureFormat( string cultureStr )
Argument |
Description |
---|---|
dwcontrol |
A reference to a DataWindow control for which you want to set the culture format. |
cultureStr |
A string that defines the formats for displaying information. For example: sDecimal=, sTime=: sThousand= sShortDate=dd/MM/yyyy iDate=1 sDate=/ sLongDate=dddd d MMMM yyyy sCurrency=' iCurrDigits=2 iNegCurr=8 iCurrency=3 iMeasure=0 iTime=1 sDecimal is the symbol used to indicate the decimal place. sTime is the symbol used to separate the hours and minutes in time displays. Each definition is delimited by a tab. |
Return value
Returns 1 if successful and -1 if it fails.