ctAddRow: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} LBADD {{GameCategory|arma1|Scripting Commands}} {{GameCategory|arma2|Scripting Commands}} {{GameCategory|arma3|Scripting Commands}...) |
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>") |
||
(27 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma3 | |game1= arma3 | ||
|1.70 | |version1= 1.70 | ||
|arg= local | |arg= local | ||
|eff= local | |eff= local | ||
Line 8: | Line 8: | ||
|gr1= GUI Control - Controls Table | |gr1= GUI Control - Controls Table | ||
| 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>]]. | |descr= 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. | Note that rows and headers are indexed separately. | ||
| [[ | |s1= [[ctAddRow]] control | ||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
| [[Array]] | |r1= [[Array]] | ||
|x1= <sqf>_array = ctAddRow _control;</sqf> | |||
|x1= < | |||
|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