lbSetPictureRight: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| Sets the second (right aligned) picture in the item with the given index of the listbox or combobox with id idc of the topmost user [[dialog]]. Name is the picture name. The picture is searched for in the mission directory, the dtaExt subdirectory of the campaign directory and the dtaExt directory and the data bank (or directory).<br> | | Sets the second (right aligned) picture in the item with the given index of the listbox or combobox with id idc of the topmost user [[dialog]]. Name is the picture name. The picture is searched for in the mission directory, the dtaExt subdirectory of the campaign directory and the dtaExt directory and the data bank (or directory).<br> | ||
In Arma 3 it might be necessary to set the color of the picture as well with [[lbSetPictureRightColor]] as default [0,0,0,0] color makes picture invisible. |= | In Arma 3 it might be necessary to set the color of the picture as well with [[lbSetPictureRightColor]] as default [0,0,0,0] color makes picture invisible. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''lbSetPictureRight''' [idc, index, name] |= | | '''lbSetPictureRight''' [idc, index, name] |SYNTAX= | ||
|p1= [idc, index, name]: [[Array]] |= | |p1= [idc, index, name]: [[Array]] |PARAMETER1= | ||
|p2= idc: [[Number]] of control |= | |p2= idc: [[Number]] of control |PARAMETER2= | ||
|p3= index: [[Number]] |= | |p3= index: [[Number]] |PARAMETER3= | ||
|p4= name: [[String]] |= | |p4= name: [[String]] |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|s2= control '''lbSetPictureRight''' [index, name] |= | |s2= control '''lbSetPictureRight''' [index, name] |SYNTAX= | ||
|p21= control: [[Control]] |= | |p21= control: [[Control]] |PARAMETER1= | ||
|p22= [index, name]: [[Array]] |= | |p22= [index, name]: [[Array]] |PARAMETER2= | ||
|p23= index: [[Number]] |= | |p23= index: [[Number]] |PARAMETER3= | ||
|p24= name: [[String]] |= | |p24= name: [[String]] |PARAMETER4= | ||
|r2= [[Nothing]] |= | |r2= [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[lbSetPictureRight]] [101, 0, "iskoda"];</code> |= | |x1= <code>[[lbSetPictureRight]] [101, 0, "iskoda"];</code> |EXAMPLE1= | ||
|x2= <code>_control [[lbSetPictureRight]] [0, "iskoda"];</code> |= | |x2= <code>_control [[lbSetPictureRight]] [0, "iskoda"];</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]], [[lbSetPictureColor]] |= | | [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]], [[lbSetPictureColor]] |SEEALSO= | ||
}} | }} |
Revision as of 14:42, 7 April 2019
Description
- Description:
- Sets the second (right aligned) picture in the item with the given index of the listbox or combobox with id idc of the topmost user dialog. Name is the picture name. The picture is searched for in the mission directory, the dtaExt subdirectory of the campaign directory and the dtaExt directory and the data bank (or directory).
In Arma 3 it might be necessary to set the color of the picture as well with lbSetPictureRightColor as default [0,0,0,0] color makes picture invisible. - Groups:
- Uncategorised
Syntax
- Syntax:
- lbSetPictureRight [idc, index, name]
- Parameters:
- [idc, index, name]: Array
- idc: Number of control
- index: Number
- name: String
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- control lbSetPictureRight [index, name]
- Parameters:
- control: Control
- [index, name]: Array
- index: Number
- name: String
- Return Value:
- Nothing
Examples
- Example 1:
lbSetPictureRight [101, 0, "iskoda"];
- Example 2:
_control lbSetPictureRight [0, "iskoda"];
Additional Information
- See also:
- lbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbSortlbSortByValuelbTextlbValuelbSetPictureColor
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 10 2014
- ffur2007slx2_5
- More information on the LB command family can be found here
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.5
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: GUI Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters