Archive: Turning section name back to "non-bold" in Function.


Turning section name back to "non-bold" in Function.
In my installer Section Groups the names are made bold simply by using an exclamation mark in front of the names.

My problem now is that I want to change the text of the names in a Function - which of course works - but when the name has been changed, it's still in bold. I would like it to be 'not bold' (is there a single word for that?), when it's changed by the Function.

Anyone know how to do that?

I've tried !insertmacro SetSectionFlag ${MySectionGroup} ${SF_BOLD}, because I thought perhaps that would counteract the previous bold setting(!). I have tried SectionSetText ${MySectionGroup} "" before I change the name, to see if setting the text to none first would remove the bold setting.

Is there a setting I can use like SF_BOLD, but that works the other way? Or another way of doing it?

Thanks.


ClearSectionFlag?

Stu


Thank you! It's almost always a very simple solution. :)

In case someone else is wondering about this in the future, the solution was:

!insertmacro ClearSectionFlag ${MySectionGroup} ${SF_BOLD}

-By the way, thank you Afrow UK for all the help I've gotten from you over the years, both directly by answering my questions and indirectly by answering other people's questions. That goes for the rest of you regulars here as well, btw.

I'm a little slow at times, so the help is much appreciated. :)