lnbGetColumnsPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
(47 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2 | | |game1= arma2 | ||
|version1= 1.00 | |||
|1. | |game2= arma2oa | ||
|version2= 1.50 | |||
| | |game3= tkoh | ||
|version3= 1.00 | |||
| | |game4= arma3 | ||
|version4= 0.50 | |||
| | |arg= local | ||
| | |eff= local | ||
| | |gr1= GUI Control - ListNBox | ||
| [[ | |descr= Returns relative screen X of ListNBox control columns position [0.1,0.3,0.6...]. Use [[lnbSetColumnsPos]] to set positions. | ||
|s1= [[lnbGetColumnsPosition]] _ctrl | |||
| | |p1= _ctrl: [[Control]] | ||
| [[ | |r1= [[Array]] | ||
| | |x1= <sqf>lnbGetColumnsPosition _ctrl;</sqf> | ||
|seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbPicture]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetData]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbText]] [[lnbValue]] | |||
}} | }} | ||
Latest revision as of 13:16, 5 May 2022
Description
- Description:
- Returns relative screen X of ListNBox control columns position [0.1,0.3,0.6...]. Use lnbSetColumnsPos to set positions.
- Groups:
- GUI Control - ListNBox
Syntax
- Syntax:
- lnbGetColumnsPosition _ctrl
- Parameters:
- _ctrl: Control
- Return Value:
- Array
Examples
- Example 1:
- lnbGetColumnsPosition _ctrl;
Additional Information
- See also:
- lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText lnbValue
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