ctAddHeader: Difference between revisions

From Bohemia Interactive Community
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. |= Description
Note that rows and headers are indexed separately. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Array]] <nowiki>=</nowiki> '''ctAddHeader''' [[Control]] |= Syntax
| [[Array]] <nowiki>=</nowiki> '''ctAddHeader''' [[Control]] |SYNTAX=


|p1= control: [[Control]] |= Parameter 1
|p1= control: [[Control]] |PARAMETER1=


| [[Array]] |= Return value
| [[Array]] |RETURNVALUE=


____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_array = [[ctAddHeader]] _control;</code> |= Example 1
|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]] |= See also
| [[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

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