Jump to content

Jsname of delphi Component


Recommended Posts


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...