BIS_fnc_OM_Module_initSmallValueSilder

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.981.98
Hover & click on the images for descriptions

Description

Description:
Initialize slider with edit box showing its value supporting small decimal numbers.

Syntax

Syntax:
[ctrlSlider, ctrlEdit, unit, defaultValue] call BIS_fnc_OM_Module_initSmallValueSilder
Parameters:
ctrlSlider: Control - Slider Control
ctrlEdit: Control - Edit Control
unit: String - (Optional, default "%") Measurement unit added behind the number
defaultValue: Number - (Optional, default nil) When present, only the value is set, functionality is not initialized
Return Value:
Boolean

Examples

Example 1:
[_ctrlSlider,_ctrlEdit,"m",500] call BIS_fnc_OM_Module_initSmallValueSilder;//Set default value only.
Example 2:
[_ctrlSlider,_ctrlEdit,"m"] call BIS_fnc_OM_Module_initSmallValueSilder;//Initialize functionality.

Additional Information

Execution:
call
See also:
BIS_fnc_initSliderValue
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.