lbSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "</dl> <dl class="command_description"> " to "")
No edit summary
Line 37: Line 37:
|x2= <code>_control [[lbSetTooltip]] [0, "another tooltip"];</code>
|x2= <code>_control [[lbSetTooltip]] [0, "another tooltip"];</code>


|seealso= [[lnbSetTooltip]], [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]]
|seealso= [[lbTooltip]], [[lnbSetTooltip]], [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]]
}}
}}



Revision as of 15:17, 12 June 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:
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:
lbTooltiplnbSetTooltiplbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetValuelbSizelbSortlbSortByValuelbTextlbValue

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