Reference/SectionSetText: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=SectionSetText= section_index section_text Sets the description for the section section_index. If the text is set to "" then the section will be hidden. The error flag will b...")
(No difference)

Revision as of 10:07, 28 November 2011

SectionSetText

section_index section_text

Sets the description for the section section_index. If the text is set to "" then the section will be hidden. The error flag will be set if an out of range section is specified.

Section "" test_section_id
SectionEnd
 
Function .onInit
  # change section's name to $WINDIR
  SectionSetText ${test_section_id} $WINDIR
FunctionEnd