ctFindRowHeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 8: Line 8:
|gr1= GUI Control - Controls Table
|gr1= GUI Control - Controls Table


| Takes index of a row as a parameter. Returns index of the closest header above this row.
|descr= Takes index of a row as a parameter. Returns index of the closest header above this row.


|s1=  ctrl '''ctFindRowHeader''' row
|s1=  ctrl '''ctFindRowHeader''' row

Revision as of 22:00, 13 June 2021

Hover & click on the images for description

Description

Description:
Takes index of a row as a parameter. Returns index of the closest header above this row.
Groups:
GUI Control - Controls Table

Syntax

Syntax:
ctrl ctFindRowHeader row
Parameters:
ctrl: Control
row: Number
Return Value:
Number

Examples

Example 1:
_index = _control ctFindRowHeader 0;

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindHeaderRowsctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

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