ctAddHeader: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 99793 by shukari on 2017-05-16T17:20:29Z) |
m (template:command argument fix) |
||
Line 10: | Line 10: | ||
| 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>]]. | | 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>]]. | ||
<br> | <br> | ||
Note that rows and headers are indexed separately. |= | Note that rows and headers are indexed separately. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Array]] <nowiki>=</nowiki> '''ctAddHeader''' [[Control]] |= | | [[Array]] <nowiki>=</nowiki> '''ctAddHeader''' [[Control]] |SYNTAX= | ||
|p1= control: [[Control]] |= | |p1= control: [[Control]] |PARAMETER1= | ||
| [[Array]] |= | | [[Array]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_array = [[ctAddHeader]] _control;</code> |= | |x1= <code>_array = [[ctAddHeader]] _control;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ctAddRow]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |= | | [[ctAddRow]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |SEEALSO= | ||
}} | }} |
Revision as of 14:36, 7 April 2019
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
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
Categories:
- Scripting Commands
- Introduced with Arma 3 version 1.70
- Arma 3: New Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: GUI Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Arma 3: New Scripting Commands List