ctAddRow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 99794 by shukari on 2017-05-16T17:21:26Z)
m (template:command argument fix)
Line 10: Line 10:
| Adds one row of controls according to the RowTemplate class. It returns an array containing row index and array of created controls in a format [<rowIndex>, [<control0>, <control1>...<control n>]].
| Adds one row of controls according to the RowTemplate class. It returns an array containing row index and array of created controls in a format [<rowIndex>, [<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> '''ctAddRow''' [[Control]] |= Syntax
| [[Array]] <nowiki>=</nowiki> '''ctAddRow''' [[Control]] |SYNTAX=


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


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


____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_array = [[ctAddRow]] _control;</code> |= Example 1
|x1= <code>_array = [[ctAddRow]] _control;</code> |EXAMPLE1=


____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 15:36, 7 April 2019

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
_array = ctAddRow _control;

Additional Information

See also:
ctAddHeaderctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

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