In Arma 3 v1.70, this command always returns 0 if the definition for width of the control ( inside .hpp or .cpp file ) is missing.
Description
Returns the text control's height. Supported control types:
- CT_STATIC
- CT_STRUCTURED_TEXT
- CT_EDIT
- Arma 3 v2.06 CT_XKEYDESC
- Arma 3 v2.06 CT_XBUTTON
- Arma 3 v2.06 CT_SHORTCUTBUTTON
- Arma 3 v2.06 CT_BUTTON
- Arma 3 v2.06 CT_ACTIVETEXT
Syntax
ctrlTextHeight control
Parameters:
control: Control
Returns: Number
Examples
Example 1
_h = ctrlTextHeight _ctrl;
See also
ctrlFontHeight · ctrlTextWidth · ctrlSetText · ctrlType · Arma: GUI Configuration