ctAddHeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ |arma3dev |= Game |1.68|= Game Version |arg= local |= Argume...")
 
mNo edit summary
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


|arma3dev |= Game
|arma3 |= Game
|1.68|= Game Version
|1.70|= Game Version
|arg= local |= Arguments in MP
|arg= local |= Arguments in MP
|eff= local |= Effects in MP
|eff= local |= Effects in MP
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}
Line 45: Line 45:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->


<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 19:20, 16 May 2017

Hover & click on the images for description

Description

Description:
Adds a header line of controls according to the HeaderTemplate class. It returns an array containing header index and array of created controls in a format [<headerIndex>, [<control0>, <control1>...<control n>]].
Note that rows and headers are indexed separately.
Groups:
Uncategorised

Syntax

Syntax:
Array = ctAddHeader Control
Parameters:
control: Control
Return Value:
Array

Examples

Example 1:
_array = ctAddHeader _control;

Additional Information

See also:
ctAddRowctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

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