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.
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. sThousand is Each definition is delimited by a tab. |
Returns 1 if successful and -1 if it fails. Does not work for .NET targets, and will always return -1 if used in a target of that type.