TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > AttachmentButton > Method >

 

GetComponentByName

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > AttachmentButton > Method >

 

GetComponentByName

 

 

Gets the component of the given name.

 

 

 

Prototype :

 

object GetComponentByName

(

       string ComponentName

)

 

 

 

Arguments :

 

ComponentName

Component name

 

 

 

Example :

 

var objComp = This.GetComponentByName("label1");

if(objComp != null) {

  _TraceLn(objComp.GetName());

}

 

 

 

Available Events :

 

OnBind,  OnInitialize,  OnStartBind