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) Quote 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; Quote 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. Quote 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.