Currency Field

From Apache OpenOffice Wiki
< Documentation‎ | DevGuide
Revision as of 13:03, 21 December 2020 by DiGro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The currency field control is used for entering and displaying currency values. In addition to the currency value, a currency symbol is displayed, that is set by the CurrencySymbol property. If the PrependCurrencySymbol property is set to True, the currency symbol is displayed in front of the currency value.

  oCurrencyFieldModel = oDialog.Model.CurrencyField1
  oCurrencyFieldModel.Value = 500.00
  oCurrencyFieldModel.CurrencySymbol = "€"
  oCurrencyFieldModel.PrependCurrencySymbol = True
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages