ctrlScale: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
(beautification)
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki> '''ctrlScale''' controlName|SYNTAX=
| [[ctrlScale]] control|SYNTAX=


|p1= controlName: [[Control]] |PARAMETER1=
|p1= control: [[Control]] |PARAMETER1=


| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_scale = ctrlScale _control</pre> |EXAMPLE1=
|x1= <code>_scale = [[ctrlScale]] _control;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 09:09, 11 November 2020

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

Description

Description:
Returns the current scale of the control.
Groups:
GUI Control

Syntax

Syntax:
ctrlScale control
Parameters:
control: Control
Return Value:
Number

Examples

Example 1:
_scale = ctrlScale _control;

Additional Information

See also:
ctrlSetScalectrlModelScalectrlSetModelScale

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