lbSetTooltip: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 65: | Line 65: | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on August 9, 2017 - 13:03 (UTC)</dd> | |||
<dt class="note">[[User:IT07|IT07]]</dt> | |||
<dd class="note"> | |||
[ ArmA 3 v1.75.142535 ] if you want to put linebreaks into a tooltip, use this method: <br> | |||
<code>format [ "%1,%2%3", "hi", parseText "\n", "my name is Will" ]</code> | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 14:03, 9 August 2017
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" ]