lbSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 23: Line 23:
|s2= control '''lbSetTooltip''' [index, tooltip]
|s2= control '''lbSetTooltip''' [index, tooltip]


|p21= control: [[Control]] |PARAMETER21=
|p21= control: [[Control]]


|p22= [index, tooltip]: [[Array]] |PARAMETER22=
|p22= [index, tooltip]: [[Array]]


|p23= index: [[Number]] |PARAMETER23=
|p23= index: [[Number]]


|p24= tooltip: [[String]] |PARAMETER24=
|p24= tooltip: [[String]]


|r2= [[Nothing]]
|r2= [[Nothing]]

Revision as of 19:12, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - ListBox

Syntax

Syntax:
Syntax needed
Parameters:
[idc, index, tooltip]: Array
idc: Number
index: Number
tooltip: String
Return Value:
Return value needed

Alternative Syntax

Syntax:
control lbSetTooltip [index, tooltip]
Parameters:
control: Control
[index, tooltip]: Array
index: Number
tooltip: String
Return Value:
Nothing

Examples

Example 1:
lbSetTooltip [101, 1, "tooltip"];
Example 2:
_control lbSetTooltip [0, "another tooltip"];

Additional Information

See also:
See also needed

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: Sep 10 2014
ffur2007slx2_5
More information on the LB command family can be found here
Posted on August 9, 2017 - 13:03 (UTC)
IT07
[ Arma 3 v1.75.142535 ] if you want to put linebreaks into a tooltip, use this method:
format [ "%1,%2%3", "hi", parseText "\n", "my name is Will" ]