ctrlAddEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(populated with empty template)
(populated)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| (description) |= Description
| Add an event handler to the given control. Returns id of the handler or -1 when failed. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''(command)''' |= Syntax
| control '''ctrlAddEventHandler''' [handler name,function] |= Syntax


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


|p2= |= PARAMETER2  
|p2= [handler name,function]: [[Array]] -  |= PARAMETER2  


|p3= |= PARAMETER3  
|p3= |= PARAMETER3  


| |= RETURNVALUE  
| [[Number]] |= RETURNVALUE  





Revision as of 03:57, 4 June 2009

Hover & click on the images for description

Description

Description:
Add an event handler to the given control. Returns id of the handler or -1 when failed.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlAddEventHandler [handler name,function]
Parameters:
control: Control -
[handler name,function]: Array -
Return Value:
Number

Examples

Example 1:
(example)

Additional Information

See also:
See also needed

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