Tokay Posted May 28, 2018 Share Posted May 28, 2018 Hello. Is there a way to change color of Items of a TUniTreeView? In VCL I could write this code: if SomeCondition then Sender.Canvas.Font.Color := clRed in the TreeViewCustomDrawItem, and all works fine. How I can do it in the UniGUI? Thank you. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 28, 2018 Administrators Share Posted May 28, 2018 You can set the Font.Color for each individual node. Quote Link to comment Share on other sites More sharing options...
Tokay Posted May 29, 2018 Author Share Posted May 29, 2018 Thank you Farshad! Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted June 3, 2018 Share Posted June 3, 2018 See alsohttp://forums.unigui.com/index.php?/topic/9980-unitreenode-2-colors-in-the-same-text/&do=findComment&comment=51978It gives a very beautiful design. Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted June 4, 2018 Share Posted June 4, 2018 Best Regards 1 Quote Link to comment Share on other sites More sharing options...
Tokay Posted June 6, 2018 Author Share Posted June 6, 2018 I'll check, thank you. 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.