Dear Friend,
I have a suggestion for JQEdit that bind to DataLink.Field. You could do in such cases:
- When DataLink.Field.DataType in [ftInteger, ftSmallInt, ftWord, ftByte, ftLongInt, ftLargeInt and so on], automatically set JQEdit.FormatOptions properties as follow:
* Type_ = ftDecimal
* Precision = 0;
* AutoFix = True
* Enabled = True
- When DataLink.Field.DataType in [ftFloat, ftDouble, ftExtended and so on], automatically set JQEdit.FormatOptions properties as follow:
* Type_ = ftDecimal
* Precision = [Currently I do-not know because NumericField.Precision is for both integer part and fractional part];
* AutoFix = True
* Enabled = True
What do you think?