lbSetPictureRight: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI Control |GROUP1= ") |
m (Text replacement - "|gr1= GUI Control |GROUP1= |arg= local |Multiplayer Arguments= |eff= local |Multiplayer Effects= |gr1= GUI Control |=GROUP1" to "|arg= local |Multiplayer Arguments= |eff= local |Multiplayer Effects= |gr1= GUI Control |GROUP1=") |
||
Line 5: | Line 5: | ||
|1.5|Game version= | |1.5|Game version= | ||
|arg= local |Multiplayer Arguments= | |arg= local |Multiplayer Arguments= | ||
Line 14: | Line 10: | ||
|eff= local |Multiplayer Effects= | |eff= local |Multiplayer Effects= | ||
|gr1= GUI Control |= | |gr1= GUI Control |GROUP1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 19:51, 24 September 2020
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:
- GUI Control
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: GUI Control
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands Armed Assault
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters