Dynamically hide a section...
I have searched the forum and I can't seem to find any reference to dynamically hiding (or unhiding) a section.
I take it that I cannot do this...correct?
:(
Thanx!
jc3
Archive: Dynamically hide a section...
Dynamically hide a section...
I have searched the forum and I can't seem to find any reference to dynamically hiding (or unhiding) a section.
I take it that I cannot do this...correct?
:(
Thanx!
jc3
This can be done dynamically like so...
Section "My Section" MySec
...
SectionEnd
!include Sections.nsh
Function Blah
;Enable section
!insertmacro SelectSection "${MySec}"
;Disable section
!insertmacro UnselectSection "${MySec}"
FunctionEnd
Thanks Stu,
I knew how to select and unselect a checkbox. :)
I was looking for the equivalent of:
Section "-My Section" MySec
...
SectionEnd