ctrlSetTooltip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(updated)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| display '''ctrlSetTooltip''' text |= Syntax
| control '''ctrlSetTooltip''' text |= Syntax


|p1= display: [[Control]] |= Parameter 1
|p1= control: [[Control]] |= Parameter 1


|p2= text: [[String]] |= Parameter 2
|p2= text: [[String]] |= Parameter 2
Line 20: Line 20:
   
   
|x1= <pre>_control ctrlSetTooltip "tooltip"</pre> |= Example 1
|x1= <pre>_control ctrlSetTooltip "tooltip"</pre> |= Example 1
|x2= <code>([[findDisplay]] 10000) [[displayCtrl]] 10001 '''ctrlSetTooltip''' "ThisIsAGoodTip"
|x2= <code>(([[findDisplay]] 10000) [[displayCtrl]] 10001) '''ctrlSetTooltip''' "ThisIsAGoodTip"
</code> |= Example 2
</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 00:52, 24 June 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets tooltip text of given control.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlSetTooltip text
Parameters:
control: Control
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

Notes

Bottom Section