ctRemoveHeaders: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 106460 by krzmbrzl on 2018-04-06T11:09:46Z)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Takes array of header indices as a parameter and removes headers with those indices. Indices of remaining headers will be recomputed. |= Description
| Takes array of header indices as a parameter and removes headers with those indices. Indices of remaining headers will be recomputed. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ctrl '''ctRemoveHeaders''' indices |= Syntax
| ctrl '''ctRemoveHeaders''' indices |SYNTAX=


|p1= ctrl: [[Control]] |= Parameter 1
|p1= ctrl: [[Control]] |PARAMETER1=
|p2= indices: [[Array]] |= Parameter 2
|p2= indices: [[Array]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=


____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_control [[ctRemoveHeaders]] [0, 1, 2];</code> |= Example 1
|x1= <code>_control [[ctRemoveHeaders]] [0, 1, 2];</code> |EXAMPLE1=


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |= See also
| [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |SEEALSO=


}}
}}

Revision as of 14:36, 7 April 2019

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:
Uncategorised

Syntax

Syntax:
ctrl ctRemoveHeaders indices
Parameters:
ctrl: Control
indices: Array
Return Value:
Nothing

Examples

Example 1:
_control ctRemoveHeaders [0, 1, 2];

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctSetRowTemplatectSetHeaderTemplate

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section