lbSetTooltip: Difference between revisions
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (<code> tidy + "see also") |
(fixed syntax, added alternative syntax/example) |
||
Line 14: | Line 14: | ||
|p1= [idc, index, tooltip]: [[Array]] |= PARAMETER1 | |p1= [idc, index, tooltip]: [[Array]] |= PARAMETER1 | ||
| | |p2= idc: [[Number]] |= PARAMETER2 | ||
| | |p3= index: [[Number]] |= PARAMETER3 | ||
| | |p4= tooltip: [[String]] |= PARAMETER4 | ||
| [[Nothing]] |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
____________________________________________________________________________________________ | |||
|s2= control '''lbSetTooltip''' [index, tooltip] |= Syntax | |||
|p21= control: [[Control]] |= PARAMETER1 | |||
|p22= [index, tooltip]: [[Array]] |= PARAMETER2 | |||
|p23= index: [[Number]] |= PARAMETER3 | |||
|p24= tooltip: [[String]] |= PARAMETER4 | |||
|r2= [[Nothing]] |= RETURNVALUE | |||
____________________________________________________________________________________________ | |||
|x1= <code>[[lbSetTooltip]] [101, 1, "tooltip"];</code>|= Example 1 | |x1= <code>[[lbSetTooltip]] [101, 1, "tooltip"];</code>|= Example 1 | ||
|x2= <code>_control [[lbSetTooltip]] [0, "another tooltip"];</code>|= Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:03, 27 June 2014
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