ctRemoveHeaders: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<code>([a-zA-Z0-9_, ]+) +\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
mNo edit summary
 
Line 13: Line 13:


|p1= ctrl: [[Control]]
|p1= ctrl: [[Control]]
|p2= indices: [[Array]]
|p2= indices: [[Array]] of [[Number]]s


|r1= [[Nothing]]
|r1= [[Nothing]]

Latest revision as of 11:47, 1 January 2026

Hover & click on the images for description

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