ctrlSetTooltip: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Dr Eyeball (talk | contribs) m (Most A3 controls now support tooltips.) |
||
Line 12: | Line 12: | ||
| control '''ctrlSetTooltip''' text |= Syntax | | control '''ctrlSetTooltip''' text |= Syntax | ||
|p1= control: [[Control]] - Any [[Dialogs|control type]], except for CT_STATIC & CT_STRUCTURED_TEXT |= Parameter 1 | |p1= control: [[Control]] - Any [[Dialogs|control type]], (except for CT_STATIC & CT_STRUCTURED_TEXT, although Arma 3 now supports these too) |= Parameter 1 | ||
|p2= text: [[String]] |= Parameter 2 | |p2= text: [[String]] |= Parameter 2 |
Revision as of 07:22, 18 August 2015
Description
- Description:
- Sets tooltip text of given control.
- Groups:
- Uncategorised
Syntax
- Syntax:
- control ctrlSetTooltip text
- Parameters:
- control: Control - Any control type, (except for CT_STATIC & CT_STRUCTURED_TEXT, although Arma 3 now supports these too)
- text: String
- Return Value:
- Nothing
Examples
- Example 1:
_control ctrlSetTooltip "tooltip"
- Example 2:
((findDisplay 10000) displayCtrl 10001) ctrlSetTooltip "ThisIsAGoodTip"
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