ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Additional currency
  • Miscellaneous
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The DisplayCurrency property gets and sets the currency used when entering or displaying values in a "Currency + Euro" control.
Remarks:
  • The displayed currency can differ from the currency returned to the program or saved in the corresponding HFSQL data file. The currency used during the backup is defined by MemoryCurrency.
  • If the displayed currency differs from the stored currency, the conversion is automatically performed during the backup.
Example
WindowsUniversal Windows 10 AppAndroidJava
// Modification de la devise d'affichage dans le champ de saisie SAI_Saisie1
SAI_Saisie1.DeviseAffichage = eITL // Lire italienne
Syntax

Finding out the display currency used Hide the details

<Currency used> = <Control used>.DisplayCurrency
<Currency used>: Integer constant
Currency currently used as display currency.
ConstantCountryExchange rate
eEUR
Euro zone
1
eFRF
France
6.55957
eITL
Italy
1936.27
eBEF
Belgium
40.3399
eLUF
Luxembourg
40.3399
eDEM
Germany
1.95583
eATS
Austria
13.7603
eESP
Spain
166.386
eIEP
Ireland
0.787564
eNLG
Netherlands
2.20371
ePTE
Portugal
200.482
eGRD
Greece
340.750
eFIM
Finland
5.94573
Currencies not taking part in the Euro
eDKK
Denmark
0
eGBP
Great Britain
0
eSEK
Sweden
0
Free1
0
Free2
0
Free3
0
Free4
<Control used>: Control name
Name of the "Currency + Euro" control.

Modifying the display currency used Hide the details

<Control used>.DisplayCurrency = <New currency>
<Control used>: Control name
Name of the "Currency + Euro" control.
<New currency>: Integer constant
New currency that will be used as display currency.
ConstantCountryExchange rate
eEUR
Euro zone
1
eFRF
France
6.55957
eITL
Italy
1936.27
eBEF
Belgium
40.3399
eLUF
Luxembourg
40.3399
eDEM
Germany
1.95583
eATS
Austria
13.7603
eESP
Spain
166.386
eIEP
Ireland
0.787564
eNLG
Netherlands
2.20371
ePTE
Portugal
200.482
eGRD
Greece
340.750
eFIM
Finland
5.94573
Currencies not taking part in the Euro
eDKK
Denmark
0
eGBP
Great Britain
0
eSEK
Sweden
0
Free1
0
Free2
0
Free3
0
Free4
Remarks

Additional currency

You also have the ability to define custom currencies: they allow you to choose an additional currency, created through programming with eInitCurrency. To choose one of these currencies, use the values from 16 to 19:
  • 16: Custom currency #1
  • 17: Custom currency #2
  • 18: Custom currency #3
  • 19: Custom currency #4

Miscellaneous

When modifying the display currency of a control, the value found in the control is automatically converted.

Limits

The DisplayCurrency property applies to:
  • WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppAndroidiPhone/iPadMac Catalyst when displaying a value in a "Currency + Euro" calculated control (in a report).
  • WINDEVUniversal Windows 10 AppAndroid when displaying and entering a value in a "Currency + Euro" edit control (in a window).
  • WINDEVUniversal Windows 10 App when displaying and entering a value in a column found in a "Currency + Euro" Table control (in a window).
  • WEBDEV - Server code when displaying and/or typing data in the "Currency + Euro" controls (edit control, formatted display control, column of a Table control, attribute of a Looper control).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/01/2024

Send a report | Local help