BIS fnc getIDC: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) 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
Description
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
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