JVCL Help:TJvCalcEdit.DisplayFormat

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies the format for the displayed number.


Pascal

 propertyDisplayFormat: string;


Description

Use DisplayFormat to specify a custom format string for the number display. Note that DisplayFormat is only used when the popup calculator is not showing and the user is not entering a number in the edit box (i.e., the control has no focus).
The value of DisplayFormat does not affect the actual stored floating-point value. See Delphi help at FormatFloat to view which format specifiers are supported in the format string.


See Also

TJvCustomNumEdit.DecimalPlaces, TJvCustomNumEdit.DisplayText


About

Notes

Ensure that DecimalPlaces is large enough for the DisplayFormat. For example, if DisplayFormat is '0.###' then DecimalPlaces must be minimal 3.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page