lnbSetColumnsPos: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 37: | Line 37: | ||
|x2= <code>_ctrl [[lnbSetColumnsPos]] [0.1,0.5,0.7];</code> | |x2= <code>_ctrl [[lnbSetColumnsPos]] [0.1,0.5,0.7];</code> | ||
|seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] | |seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | ||
}} | }} | ||
Revision as of 16:50, 20 January 2022
Description
- Description:
- Sets relative screen X for ListNBox control columns positions. Setter for lnbGetColumnsPosition.
- Groups:
- GUI Control - ListNBox
Syntax
- Syntax:
- lnbSetColumnsPos [idc, positions]
- Parameters:
- idc: Number - idc of the control
- positions: Array - positions of the columns
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- ctrl lnbSetColumnsPos positions
- Parameters:
- ctrl: Control - lnb control
- positions: Array - positions of the columns
- Return Value:
- Nothing
Examples
- Example 1:
lnbSetColumnsPos [101, [0.1,0.5,0.7]];
- Example 2:
_ctrl lnbSetColumnsPos [0.1,0.5,0.7];
Additional Information
- See also:
- lnbAddArray lnbAddColumn lnbAddRow lnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue
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
- Posted on Sep 9 2014
- ffur2007slx2_5
- See: List Box#LISTNBOX