ctAddHeader

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.70
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.70

Description

Description:
Adds a header line of controls according to the HeaderTemplate class. It returns an array containing header index and array of created controls in a format [<headerIndex>, [<control0>, <control1>...<control n>]].
Note that rows and headers are indexed separately.

Syntax

Syntax:
Array = ctAddHeader Control
Parameters:
control: Control
Return Value:
Array

Examples

Example 1:
_array = ctAddHeader _control;

Additional Information

Multiplayer:
-
See also:
ctAddRowctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section