lbSetTooltip: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (template:command argument fix) |
||
Line 16: | Line 16: | ||
| '''lbSetTooltip''' [idc, index, tooltip] |= Syntax | | '''lbSetTooltip''' [idc, index, tooltip] |= Syntax | ||
|p1= [idc, index, tooltip]: [[Array]] |= | |p1= [idc, index, tooltip]: [[Array]] |PARAMETER1= | ||
|p2= idc: [[Number]] |= | |p2= idc: [[Number]] |PARAMETER2= | ||
|p3= index: [[Number]] |= | |p3= index: [[Number]] |PARAMETER3= | ||
|p4= tooltip: [[String]] |= | |p4= tooltip: [[String]] |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|s2= control '''lbSetTooltip''' [index, tooltip] |= Syntax | |s2= control '''lbSetTooltip''' [index, tooltip] |= Syntax | ||
|p21= control: [[Control]] |= | |p21= control: [[Control]] |PARAMETER1= | ||
|p22= [index, tooltip]: [[Array]] |= | |p22= [index, tooltip]: [[Array]] |PARAMETER2= | ||
|p23= index: [[Number]] |= | |p23= index: [[Number]] |PARAMETER3= | ||
|p24= tooltip: [[String]] |= | |p24= tooltip: [[String]] |PARAMETER4= | ||
|r2= [[Nothing]] |= | |r2= [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 45: | Line 45: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |= | | [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:34, 7 April 2019
Description
- Description:
- Sets tooltip for item with given index of the listbox or combobox with id idc of the topmost user dialog to the given data.
- Groups:
- Uncategorised
Syntax
- Syntax:
- lbSetTooltip [idc, index, tooltip]
- Parameters:
- [idc, index, tooltip]: Array
- idc: Number
- index: Number
- tooltip: String
- Return Value:
- Nothing
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:
- lbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetValuelbSizelbSortlbSortByValuelbTextlbValue
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
- 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" ]