ctSetData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} LBADD {{GameCategory|arma1|Scripting Commands}} {{GameCategory|arma2|Scripting Commands}} {{GameCategory|arma3|Scripting Commands}...)
m (Text replacement - " " to " ")
Line 18: Line 18:
| [[Nothing]]
| [[Nothing]]


 
 
|x1= <code>_control [[ctSetData]] [0, "Test"];</code>
|x1= <code>_control [[ctSetData]] [0, "Test"];</code>


|seealso= [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]]
|seealso= [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]]
}}
}}

Revision as of 19:55, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Controls Table

Syntax

Syntax:
Syntax needed
Parameters:
ctrl: Control - The respective control
index: Number - The row index
data: String - The data to set
Return Value:
Return value needed

Examples

Example 1:
_control ctSetData [0, "Test"];

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

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