ctRemoveHeaders: Difference between revisions
Lou Montana (talk | contribs) |
BrettMayson (talk | contribs) mNo edit summary |
||
| (11 intermediate revisions by one other user not shown) | |||
| Line 13: | Line 13: | ||
|p1= ctrl: [[Control]] | |p1= ctrl: [[Control]] | ||
|p2= indices: [[Array]] | |p2= indices: [[Array]] of [[Number]]s | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_control ctRemoveHeaders [0, 1, 2];</sqf> | ||
|seealso= [[ctAddRow]] [[ctAddHeader]] [[ctClear]] [[ctCurSel]] [[ctSetCurSel]] [[ctRowControls]] [[ctHeaderControls]] [[ctRowCount]] | |seealso= [[ctAddRow]] [[ctAddHeader]] [[ctClear]] [[ctCurSel]] [[ctSetCurSel]] [[ctRowControls]] [[ctHeaderControls]] [[ctRowCount]] [[ctHeaderCount]] [[ctSetValue]] [[ctValue]] [[ctSetData]] [[ctData]] [[ctFindRowHeader]] [[ctFindHeaderRows]] [[ctRemoveRows]] [[ctSetRowTemplate]] [[ctSetHeaderTemplate]] | ||
}} | }} | ||
Latest revision as of 11:47, 1 January 2026
Description
- Description:
- Takes array of header indices as a parameter and removes headers with those indices. Indices of remaining headers will be recomputed.
- Groups:
- GUI Control - Controls Table
Syntax
- Syntax:
- ctrl ctRemoveHeaders indices
- Parameters:
- ctrl: Control
- indices: Array of Numbers
- Return Value:
- Nothing
Examples
- Example 1:
- _control ctRemoveHeaders [0, 1, 2];
Additional Information
- See also:
- ctAddRow ctAddHeader ctClear ctCurSel ctSetCurSel ctRowControls ctHeaderControls ctRowCount ctHeaderCount ctSetValue ctValue ctSetData ctData ctFindRowHeader ctFindHeaderRows ctRemoveRows ctSetRowTemplate ctSetHeaderTemplate
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note