BIS fnc ctrlTextHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| tkoh |= Game name
| a3 |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Resize control according to it's text. |= Description
____________________________________________________________________________________________


Description:
| [control] call [[BIS_fnc_ctrlTextHeight]] |= Syntax
Resize control according to it's text
____________________________________________________________________________________________


Parameter(s):
|p1= control: [[Control]] - The control which should changed|= Parameter 1
_this select 0: CONTROL


Returns:
BOOL - true
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_ctrlTextHeight]]; --> |= Syntax
| [[Boolean]] - [[True]] |= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[_ctrl] [[call]] [[BIS_fnc_ctrlTextHeight]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[ctrlCommitted]], [[ctrlSetPosition]], [[ctrlSetFade]] |= See also
 
}}
}}



Revision as of 21:12, 29 May 2018

-wrong parameter ("a3") defined!-[[:Category:Introduced with a3 version 1.00|1.00]]
Hover & click on the images for description

Description

Description:
Resize control according to it's text.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[control] call BIS_fnc_ctrlTextHeight
Parameters:
control: Control - The control which should changed
Return Value:
Boolean - True

Examples

Example 1:
[_ctrl] call BIS_fnc_ctrlTextHeight;

Additional Information

See also:
ctrlCommittedctrlSetPositionctrlSetFade

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

[[Category:Introduced with a3 version 1.00]][[ Category: a3: New Functions | BIS FNC CTRLTEXTHEIGHT]][[ Category: a3: Functions | BIS FNC CTRLTEXTHEIGHT]]

Notes

Bottom Section