ctCurSel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 106455 by krzmbrzl on 2018-04-06T11:06:05Z)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns index of the selected row. Will take only rows, but not headers into account. |= Description
| Returns index of the selected row. Will take only rows, but not headers into account. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''ctCurSel''' ctrl |= Syntax
| '''ctCurSel''' ctrl |SYNTAX=


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


| [[Number]] |= Return value
| [[Number]] |RETURNVALUE=


____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_curSel = [[ctCurSel]] _control;</code> |= Example 1
|x1= <code>_curSel = [[ctCurSel]] _control;</code> |EXAMPLE1=


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |= See also
| [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[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:
Returns index of the selected row. Will take only rows, but not headers into account.
Groups:
Uncategorised

Syntax

Syntax:
ctCurSel ctrl
Parameters:
ctrl: Control
Return Value:
Number

Examples

Example 1:
_curSel = ctCurSel _control;

Additional Information

See also:
ctAddRowctAddHeaderctClearctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

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