lnbAddColumn: Difference between revisions
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (Text replacement - "lnbsetColumnsPos" to "lnbSetColumnsPos") |
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma2 | | | arma2 |Game name= | ||
|1.00| | |1.00|Game version= | ||
|arg= local |Multiplayer Arguments= | |||
|eff= local |Multiplayer Effects= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Adds an | | Adds an column at given position. It returns the index of the newly added column. |DESCRIPTION= | ||
It returns the index of the newly added | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | _ctrl [[lnbAddColumn]] position |SYNTAX= | ||
|p1= | |p1= _ctrl: [[Control]] |PARAMETER1= | ||
|p2= position: [[Number]] | |p2= position: [[Number]] |PARAMETER2= | ||
| | | [[Number]] or [[nil]] |RETURNVALUE= | ||
| [[Number]] |= | ____________________________________________________________________________________________ | ||
| s2= [[lnbAddColumn]] [idc([[Number]]) or [[Control]],position([[Number]])] |SYNTAX2= | |||
|p21= [idc([[Number]]) or [[Control]],position([[Number]])]: [[Array]] |PARAMETER1= | |||
| r2= [[Number]] or [[nil]] |RETURNVALUE= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ | |x1= <code>_ctrl [[lnbAddColumn]] 0.8;</code>|EXAMPLE1= | ||
| |= | |x2= <code>[[lnbAddColumn]] [105,0.8];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | |||
| [[lnbAddArray]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |SEEALSO= | |||
| |MPBEHAVIOUR= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} | ||
Line 31: | Line 42: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted: Sep 9 2014</dd> | |||
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt> | |||
<dd class="note">(A3 1.28) Horizontal coordinates of columns were added relative to list width, in range from 0 to 1. | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category: | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 12:48, 6 April 2020
Description
- Description:
- Adds an column at given position. It returns the index of the newly added column.
- Groups:
- Uncategorised
Syntax
- Syntax:
- _ctrl lnbAddColumn position
- Parameters:
- _ctrl: Control
- position: Number
- Return Value:
- Number or nil
Alternative Syntax
- Syntax:
- lnbAddColumn [idc(Number) or Control,position(Number)]
- Parameters:
- [idc(Number) or Control,position(Number)]: Array
- Return Value:
- Number or nil
Examples
- Example 1:
_ctrl lnbAddColumn 0.8;
- Example 2:
lnbAddColumn [105,0.8];
Additional Information
- See also:
- lnbAddArraylnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue
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
Notes
- Posted: Sep 9 2014
- ffur2007slx2_5
- (A3 1.28) Horizontal coordinates of columns were added relative to list width, in range from 0 to 1.