BIS fnc getIDC: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| tkoh |Game name=
| tkoh |Game name=
Line 7: Line 6:


|gr1= GUI |GROUP1=
|gr1= GUI |GROUP1=
____________________________________________________________________________________________


| Returns IDD of given display. |DESCRIPTION=
| Returns IDD of given display. |DESCRIPTION=
____________________________________________________________________________________________


| [config,ctrlName] call [[BIS_fnc_getIDC]] |SYNTAX=
| [config,ctrlName] call [[BIS_fnc_getIDC]] |SYNTAX=
____________________________________________________________________________________________


|p1= config: [[Config]] - Config path to display|PARAMETER1=
|p1= config: [[Config]] - Config path to display|PARAMETER1=
|p2= ctrlName: [[String]] - Config name of [[Control|control]]|PARAMETER2=
|p2= ctrlName: [[String]] - Config name of [[Control|control]]|PARAMETER2=
____________________________________________________________________________________________


| [[Number]] - IDC, returns -1 if control was not found|RETURNVALUE=
| [[Number]] - IDC, returns -1 if control was not found|RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>_IDC = [ [configFile]] >> "Display3DENPlace","ButtonCancel"] [[call]] [[BIS_fnc_getIDC]];</code> |=
|x1= <code>_IDC = [ [configFile]] >> "Display3DENPlace","ButtonCancel"] [[call]] [[BIS_fnc_getIDC]];</code> |=
____________________________________________________________________________________________


| [[configFile]], [[findDisplay]], [[createDisplay]], [[displayCtrl]] |SEEALSO=
| [[configFile]], [[findDisplay]], [[createDisplay]], [[displayCtrl]] |SEEALSO=

Revision as of 23:05, 16 January 2021

Hover & click on the images for description

Description

Description:
Returns IDD of given display.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[config,ctrlName] call BIS_fnc_getIDC
Parameters:
config: Config - Config path to display
ctrlName: String - Config name of control
Return Value:
Number - IDC, returns -1 if control was not found

Examples

Example 1:
_IDC = [ [configFile]] >> "Display3DENPlace","ButtonCancel"] call BIS_fnc_getIDC;

Additional Information

See also:
configFilefindDisplaycreateDisplaydisplayCtrl

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


Notes

Bottom Section