pavell Posted October 20, 2016 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
Rav Posted May 4, 2017 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
Harry Rogers Posted May 4, 2017 Posted May 4, 2017 Try here http://forums.unigui.com/index.php?/topic/6667-font-underline/ Quote
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.