TFormatEditor.Change
TFormatEditor
function Change(AOwner: TComponent; Const AFormat: String; AllowDates: Boolean): String;
Unit
TeeFormatting
Description
This method shows the format editor dialog and returns the selected formatting string when the user closes the dialog.
If the dialog is closed by the "Cancel" button, the result format string is untouched.
var s : String;
s:='#.##';
s:=TFormatEditor.Change(Self, s, False );