pavell Posted October 20, 2016 Share Posted October 20, 2016 Hi, There is checkbox (TUniCheckBox) on the form. I want dynamically change props of his font. When i do: myCheckBox.Font.Style := myCheckBox.Font.Style + [fsBold]; and myCheckBox.Font.Style := myCheckBox.Font.Style - [fsBold]; i see required effect (font "bold-on"/"bold-off"). But myCheckBox.Font.Style := myCheckBox.Font.Style + [fsUnderline]; and myCheckBox.Font.Style := myCheckBox.Font.Style - [fsUnderline]; not work proper. That is, +fsUnderline make font underlined, but after -fsUnderline font still underlined. Is it bug? Quote Link to comment Share on other sites More sharing options...
Rav Posted May 4, 2017 Share Posted May 4, 2017 I have the same problem, font boldness can be removed by changing the FontStyle, but underlined font stays the same Quote Link to comment Share on other sites More sharing options...
Harry Rogers Posted May 4, 2017 Share Posted May 4, 2017 Try here http://forums.unigui.com/index.php?/topic/6667-font-underline/ Quote Link to comment Share on other sites More sharing options...
Rav Posted May 4, 2017 Share Posted May 4, 2017 Thanks! That works perfect 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.