lnbAddColumn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| ?r2=(.*)\|RETURNVALUE= *" to " |r2=(.*)|RETURNVALUE2=") |
Lou Montana (talk | contribs) m (Fix bad regex effects) Tag: Undo |
||
Line 5: | Line 5: | ||
|1.00|Game version= | |1.00|Game version= | ||
|arg= local |Multiplayer Arguments= | |arg= local |Multiplayer Arguments= | ||
Line 28: | Line 24: | ||
| s2= [[lnbAddColumn]] [idc([[Number]]) or [[Control]],position([[Number]])] |SYNTAX2= | | s2= [[lnbAddColumn]] [idc([[Number]]) or [[Control]],position([[Number]])] |SYNTAX2= | ||
|p21= [idc([[Number]]) or [[Control]],position([[Number]])]: [[Array]] | | |p21= [idc([[Number]]) or [[Control]],position([[Number]])]: [[Array]] |PARAMETER21= | ||
|r2= | | r2= [[Number]] or [[nil]] |RETURNVALUE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 36: | Line 32: | ||
|x1= <code>_ctrl [[lnbAddColumn]] 0.8;</code>|EXAMPLE1= | |x1= <code>_ctrl [[lnbAddColumn]] 0.8;</code>|EXAMPLE1= | ||
|x2= <code>[[lnbAddColumn]] [105,0.8];</code>| | |x2= <code>[[lnbAddColumn]] [105,0.8];</code>|EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 56: | Line 52: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 20:31, 24 September 2020
Description
- Description:
- Adds an column at given position. It returns the index of the newly added column.
- Groups:
- GUI Control
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.