Difference between revisions of "cock.find"

m
m
 
Line 1: Line 1:
 
Finds control object by ID.
 
Finds control object by ID.
== Synopsis ==
+
== Function ==
=== Function ===
+
=== Synopsis ===
 
<source lang="Lua">control = cock.find ( id )</source>
 
<source lang="Lua">control = cock.find ( id )</source>
 
=== Arguments ===
 
=== Arguments ===

Latest revision as of 14:59, 2 September 2013

Finds control object by ID.

Function

Synopsis

control = cock.find ( id )

Arguments

string id
An identifier to find object by.

Returns

table control
Found control object (nil on failure).

See also