Frederick Posted July 10, 2019 Share Posted July 10, 2019 Why does a TVCLDBColumn within a TUniDBGrid and hosting a float field not respect the DisplayFormat property of "#,0.00;-#,0.00"? In a TColumn of a TDBGrid within a VCL application, the numbers are shown correctly. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1504) Link to comment Share on other sites More sharing options...
Wilton Ergon Posted July 11, 2019 Share Posted July 11, 2019 put uninumberedit or UniFormattedNumberEdit in hiddenpanel. link in column option editor, seting component uninumberedit; Link to comment Share on other sites More sharing options...
Frederick Posted July 12, 2019 Author Share Posted July 12, 2019 5 hours ago, wilton_rad said: put uninumberedit or UniFormattedNumberEdit in hiddenpanel. link in column option editor, seting component uninumberedit; Thank your for your suggestion. I followed your example and the attached screenshots show that the components are not responding to what has been done. Link to comment Share on other sites More sharing options...
Frederick Posted July 12, 2019 Author Share Posted July 12, 2019 After fiddling further, I managed to show the correct format for the TFloatField by setting the DisplayFormat as "#,0.00" instead of "#,0.00;-#,0.00' to represent both positive and negative numbers. Not sure why the Delphi format was not used. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now