ctAddHeader: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
mNo edit summary
 
Line 16: Line 16:
|p1= control: [[Control]]
|p1= control: [[Control]]


|r1= [[Array]] with [headerIndex, createdControls]:
|r1= [[Array]] with [headerIndex, createdControls]
* headerIndex: [[Number]]
* headerIndex: [[Number]]
* createdControls: [[Array]] of [[Control]]s
* createdControls: [[Array]] of [[Control]]s

Latest revision as of 10:02, 2 January 2026

Hover & click on the images for description

Description

Description:
Adds a header line of controls according to the HeaderTemplate class. Note that rows and headers are indexed separately.
Groups:
GUI Control - Controls Table

Syntax

Syntax:
ctAddHeader control
Parameters:
control: Control
Return Value:
Array with [headerIndex, createdControls]

Examples

Example 1:
private _array = ctAddHeader _control;

Additional Information

See also:
ctAddRow ctClear ctCurSel ctSetCurSel ctRowControls ctHeaderControls ctRowCount ctHeaderCount ctSetValue ctValue ctSetData ctData ctFindRowHeader ctFindHeaderRows ctRemoveRows ctRemoveHeaders ctSetRowTemplate ctSetHeaderTemplate

Notes

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