Difference between revisions of "Documentation/DevGuide/Basic/Currency Field"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Basic and Dialogs) |
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Documentation/Developers Guide/Basic and Dialogs) |
||
Line 16: | Line 16: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category:Documentation/ | + | [[Category:Documentation/Developer's Guide/Basic and Dialogs]] |
Revision as of 07:31, 5 June 2008
The currency field control com.sun.star.awt.UnoControlCurrencyField 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). |