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
  • 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 MemoryCurrency property gets and sets the currency used when manipulating a "Currency + Euro" control programmatically.
Remarks:
  • The currency value entered in a "Currency + Euro" Edit control (or table column) is entered in the currency defined by the DisplayCurrency property.
  • If the display currency and the memory currency are not identical, the conversion is automatically performed when saving the associated record.
Example
WindowsUniversal Windows 10 AppAndroidJava
// Change la devise mémorisée par SAI_Saisie1
SAI_Saisie1.DeviseMémoire = eEUR // Mémorisée en Euro
SAI_Saisie1 = 10 // Euro => affiche "65.60 F"
SAI_Saisie1.DeviseMémoire = eFRF // Mémorisée en Francs
SAI_Saisie1 = 10 // Francs => affiche "10.00 F"
Syntax

Finding out the memory currency used Hide the details

<Currency used> = <Control used>.MemoryCurrency
<Currency used>: Integer constant
Currency currently used as memory currency.
ConstantCountryExchange rate
eEUREuro zone1
eFRFFrance6.55957
eITLItaly1936.27
eBEFBelgium40.3399
eLUFLuxembourg40.3399
eDEMGermany1.95583
eATSAustria13.7603
eESPSpain166.386
eIEPIreland0.787564
eNLGNetherlands2.20371
ePTEPortugal200.482
eGRDGreece340.750
eFIMFinland5.94573
Currencies not taking part in the Euro
eDKKDenmark0
eGBPGreat Britain0
eSEKSweden0
Free10
Free20
Free30
Free4
<Control used>: Control name
Name of the "Currency + Euro" control.

Modifying the memory currency used Hide the details

<Control used>.MemoryCurrency = <New currency>
<Control used>: Control name
Name of the "Currency + Euro" control.
<New currency>: Integer constant
New currency that will be used for the memory currency.
ConstantCountryExchange rate
eEUREuro zone1
eFRFFrance6.55957
eITLItaly1936.27
eBEFBelgium40.3399
eLUFLuxembourg40.3399
eDEMGermany1.95583
eATSAustria13.7603
eESPSpain166.386
eIEPIreland0.787564
eNLGNetherlands2.20371
ePTEPortugal200.482
eGRDGreece340.750
eFIMFinland5.94573
Currencies not taking part in the Euro
eDKKDenmark0
eGBPGreat Britain0
eSEKSweden0
Free10
Free20
Free30
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

Limits

The MemoryCurrency property applies when manipulating the following "Currency + Euro" controls programmantically:
  • WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppAndroidiPhone/iPadMac Catalyst calculated controls and item controls found in the reports.
  • WINDEVUniversal Windows 10 AppAndroid "Currency + Euro" edit controls.
  • WINDEVUniversal Windows 10 App columns found in the "Currency + Euro" Table controls.
  • WEBDEV - Server code "Currency + Euro" edit controls, formatted display controls, columns of Table controls and attributes of Looper controls.
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