ctrlTextHeight: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
Lou Montana (talk | contribs) m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>") |
||
Line 22: | Line 22: | ||
|r1= [[Number]] | |r1= [[Number]] | ||
|x1= < | |x1= <sqf>_h = ctrlTextHeight _ctrl;</sqf> | ||
|seealso= [[ctrlFontHeight]] [[ctrlTextWidth]] [[ctrlSetText]] [[ctrlType]] [[Arma: GUI Configuration]] | |seealso= [[ctrlFontHeight]] [[ctrlTextWidth]] [[ctrlSetText]] [[ctrlType]] [[Arma: GUI Configuration]] |
Revision as of 21:24, 7 May 2022
Description
- Description:
- Returns the control text height. Supported control types are: Since Arma 3 v2.05.147765 control types added:
- Groups:
- GUI Control
Syntax
- Syntax:
- ctrlTextHeight control
- Parameters:
- control: Control
- Return Value:
- Number
Examples
- Example 1:
Additional Information
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
- Posted on May 24, 2017 - 21:34 (UTC)
- IT07
- In Arma 3 v1.70, this command always returns 0 if the control has no width.