ctAddRow: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
Lou Montana (talk | contribs) m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>") |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
Note that rows and headers are indexed separately. | Note that rows and headers are indexed separately. | ||
|s1= | |s1= [[ctAddRow]] control | ||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
Line 18: | Line 18: | ||
|r1= [[Array]] | |r1= [[Array]] | ||
|x1= < | |x1= <sqf>_array = ctAddRow _control;</sqf> | ||
|seealso= [[ctAddHeader]] | |seealso= [[ctAddHeader]] [[ctClear]] [[ctCurSel]] [[ctSetCurSel]] [[ctRowControls]] [[ctHeaderControls]] [[ctRowCount]] [[ctHeaderCount]] [[ctSetValue]] [[ctValue]] [[ctSetData]] [[ctData]] [[ctFindRowHeader]] [[ctFindHeaderRows]] [[ctRemoveRows]] [[ctRemoveHeaders]] [[ctSetRowTemplate]] [[ctSetHeaderTemplate]] | ||
}} | }} |
Latest revision as of 21:24, 7 May 2022
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:
- GUI Control - Controls Table
Syntax
Examples
- Example 1:
Additional Information
- See also:
- ctAddHeader ctClear ctCurSel ctSetCurSel ctRowControls ctHeaderControls ctRowCount ctHeaderCount ctSetValue ctValue ctSetData ctData ctFindRowHeader ctFindHeaderRows ctRemoveRows ctRemoveHeaders ctSetRowTemplate ctSetHeaderTemplate
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