I have a TDataGrid, which gets populated with columns at runtime. The column in question has a FormatType of ftPercent, and the OnEdited event is set for the TDataGrid. When this field is edited, the 'Value' field of the OnEdited event function always has a positive number, even if a negative value is entered in the field. E.g. if '-8' is entered in the grid, the 4th param of the OnEvent function has a value of 0.08. Are negative numbers not supported here? Something I'm missing to allow negative numbers? |