BIS fnc getIDC: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Returns IDD of given display. |= Description
____________________________________________________________________________________________


Description:
| [config,ctrlName] call [[BIS_fnc_getIDC]] |= Syntax
Returns IDC of given display
____________________________________________________________________________________________


Parameter(s):
|p1= config: [[Config]] - Config path to display|= Parameter 1
_this select 0: CONFIG - config path to display
|p2= ctrlName: [[String]] - Config name of [[Control|control]]|= Parameter 2
_this select 1: STRING - control name
____________________________________________________________________________________________


Returns:
| [[Number]] - IDC, returns -1 if control was not found|= Return value
NUMBER - IDC
____________________________________________________________________________________________
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <code>_IDC = [ [configFile]] >> "Display3DENPlace","ButtonCancel"] [[call]] [[BIS_fnc_getIDC]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_getIDC]]; --> |= Syntax
| [[configFile]], [[findDisplay]], [[createDisplay]], [[displayCtrl]] |= See also
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


|p1= |= Parameter 1
<!-- Note Section END -->
</dl>


| |= Return value
<h3 style="display:none">Bottom Section</h3>
____________________________________________________________________________________________
[[Category:Function Group: GUI|{{uc:getIDD}}]]
[[Category:Functions|{{uc:getIDD}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:getIDD}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getIDD}}]]


|x1= <code></code> |=
____________________________________________________________________________________________
| |= See also
}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 00:06, 30 May 2018

Hover & click on the images for description

Description

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

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