Reference/SectionGetFlags: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=SectionGetFlags= section_index user_var(output) Retrieves the section's flags. See above for a description of the flag. The error flag will be set if an out of range section ...")
 
mNo edit summary
 
Line 14: Line 14:
   SectionSetFlags ${test_section_id} $0
   SectionSetFlags ${test_section_id} $0
FunctionEnd</highlight-nsis>
FunctionEnd</highlight-nsis>
''Command introduced with NSIS v1.98''

Latest revision as of 20:51, 4 June 2013

SectionGetFlags

section_index user_var(output)

Retrieves the section's flags. See above for a description of the flag. The error flag will be set if an out of range section is specified.

Section test test_section_id
SectionEnd
 
Function .onSelChange
  # keep section 'test' selected
  SectionGetFlags ${test_section_id} $0
  IntOp $0 $0 | ${SF_SELECTED}
  SectionSetFlags ${test_section_id} $0
FunctionEnd

Command introduced with NSIS v1.98