bbm Posted January 30, 2022 Share Posted January 30, 2022 Hi, is it possible to give a uniCanvas a self-determined JSID and a JSName? I need the same for the main window. Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 30, 2022 Share Posted January 30, 2022 Hello, You can use id config, but you must ensure uniqueness. procedure TMainForm.UniFormCreate(Sender: TObject); begin UniCanvas1.JSInterface.JSConfig('id', ['CanvaID']) end; Quote Link to comment Share on other sites More sharing options...
bbm Posted January 31, 2022 Author Share Posted January 31, 2022 Hi Sherzod, thank you for your answer, but I think this ist not the correct way. The result is as follows: O23=new Ext.form.Canvas({id:"O23_id",ajxS:AjaxSuccess,ajxF:AjaxFailure,id:"Canvas_Sig_ID",fieldSubTpl:..... Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 31, 2022 Share Posted January 31, 2022 1 hour ago, bbm said: O23=new Ext.form.Canvas({id:"O23_id",ajxS:AjaxSuccess,ajxF:AjaxFailure,id:"Canvas_Sig_ID",fieldSubTpl:..... Hello, Do you create at runtime? Quote Link to comment Share on other sites More sharing options...
bbm Posted January 31, 2022 Author Share Posted January 31, 2022 Hi, No, the canvas is designed and not created at runtime. Best regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.