ctAddHeader: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |= Game " to " ") |
(named params, fixed categories, tweaked formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma3 | |game1 = arma3 | ||
|1.70 | |||
|version1= 1.70 | |||
|arg= local | |arg= local | ||
|eff= local | |eff= local | ||
|gr1= GUI Control - Controls Table | |gr1= GUI Control - Controls Table | ||
| Adds a header line of controls according to the HeaderTemplate class. It returns an array containing header index and array of created controls in | |descr= Adds a header line of controls according to the HeaderTemplate class. It returns an array containing header index and array of created controls in format:<br> | ||
<tt>[<headerIndex>, [<control0>, <control1>...<control n>]]</tt>. | |||
<br> | <br> | ||
Note that rows and headers are indexed separately. | Note that rows and headers are indexed separately. | ||
| | |s1= '''ctAddHeader''' [[Control]] | ||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
| [[Array]] | |r1= [[Array]] | ||
Line 23: | Line 27: | ||
|seealso= [[ctAddRow]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] | |seealso= [[ctAddRow]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] | ||
}} | }} | ||
Revision as of 18:32, 20 February 2021
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 format:
[<headerIndex>, [<control0>, <control1>...<control n>]].
Note that rows and headers are indexed separately. - Groups:
- GUI Control - Controls Table
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