Jump to content

Jsname of delphi Component


rullomare

Recommended Posts

Hi, 

Thanks for the answer.

 

 

The new jsname  can be Form1_UniButton1  and Form2_UniButton1 .

 

 

I mean  then new Jsname is build with Form Name + Component Name.

 

 

I already use this convention by Clients>Unievents>OnBeforInit  :  Fanagrafe_eSesso = sender.getId() ; 

 

 

Fanagrafe = Name of form  

eSesso      = Name of TunidbEdit . 

 

 

the advantage is to be able to reference each Delphi  component with a symbolic name in any js script :

 

 Ext.getCmp(Fanagrafe_eSesso).setValue("") ;  

 

 

 

 

 

Best regards 

 

Salvatore Marullo

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...