ctAddHeader: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(46 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3 |= | |game1= arma3 | ||
|version1= 1.70 | |||
| | |arg= local | ||
| | |eff= local | ||
| | |gr1= GUI Control - Controls Table | ||
| | |descr= Adds a header line of controls according to the HeaderTemplate class. Note that rows and headers are indexed separately. | ||
|s1= [[ctAddHeader]] control | |||
| | |||
|p1= control: [[Control]] | |||
| [[ | |r1= [[Array]] format [headerIndex, createdControls] where: | ||
* headerIndex: [[Number]] | |||
* createdControls: [[Array]] of [[Control]]s | |||
|x1= <sqf>private _array = ctAddHeader _control;</sqf> | |||
|seealso= [[ctAddRow]] [[ctClear]] [[ctCurSel]] [[ctSetCurSel]] [[ctRowControls]] [[ctHeaderControls]] [[ctRowCount]] [[ctHeaderCount]] [[ctSetValue]] [[ctValue]] [[ctSetData]] [[ctData]] [[ctFindRowHeader]] [[ctFindHeaderRows]] [[ctRemoveRows]] [[ctRemoveHeaders]] [[ctSetRowTemplate]] [[ctSetHeaderTemplate]] | |||
}} | }} | ||
Latest revision as of 13:34, 12 March 2024
Description
- Description:
- Adds a header line of controls according to the HeaderTemplate class. Note that rows and headers are indexed separately.
- Groups:
- GUI Control - Controls Table
Syntax
- Syntax:
- ctAddHeader control
- Parameters:
- control: Control
- Return Value:
- Array format [headerIndex, createdControls] where:
Examples
- Example 1:
Additional Information
- See also:
- ctAddRow 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