ctFindHeaderRows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


|arma3 |= Game
|arma3 |= Game
|1.70|Game Version=
|1.70
|arg= local |Multiplayer Arguments=
|arg= local
|eff= local |Multiplayer Effects=
|eff= local


|gr1= GUI Control - Controls Table |GROUP1=
|gr1= GUI Control - Controls Table


| Takes index of a header as a parameter. Returns array of indices of rows under this header. |DESCRIPTION=
| Takes index of a header as a parameter. Returns array of indices of rows under this header.


| ctrl '''ctFindHeaderRows''' index |SYNTAX=
| ctrl '''ctFindHeaderRows''' index


|p1= ctrl: [[Control]] |PARAMETER1=
|p1= ctrl: [[Control]]
|p2= index: [[Number]] |PARAMETER2=
|p2= index: [[Number]]


| [[Array]] |RETURNVALUE=
| [[Array]]


   
   
|x1= <code>_array = _control [[ctFindHeaderRows]] 0;</code> |EXAMPLE1=
|x1= <code>_array = _control [[ctFindHeaderRows]] 0;</code>




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


}}
}}

Revision as of 00:10, 18 January 2021

Hover & click on the images for description

Description

Description:
Takes index of a header as a parameter. Returns array of indices of rows under this header.
Groups:
GUI Control - Controls Table

Syntax

Syntax:
ctrl ctFindHeaderRows index
Parameters:
ctrl: Control
index: Number
Return Value:
Array

Examples

Example 1:
_array = _control ctFindHeaderRows 0;

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

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

Bottom Section