delagoutte Posted July 12, 2016 Share Posted July 12, 2016 Hi, I did an activex.I put it in the form in an UniHTMLFrame. (with UniHTMLFrame1.HTML.Add(...) ) in the form i put 2 buttons : procedure TForm_Signature.Btn_SetClick(Sender: TObject);begin unisession.AddJS('document.getElementById("pActiveXTest").Property1 = "' + e_set.text + '";');end; procedure TForm_Signature.Btn_GetClick(Sender: TObject);begin unisession.AddJS('alert(document.getElementById("pActiveXTest").Property1)');end; All work fine. But instead of unisession.AddJS('alert(document.getElementById("pActiveXTest").Property1)'); i want to save the result in a string variable (or edit or memo ...) to use the result in my form. How cani do this ? Thank you Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 12, 2016 Share Posted July 12, 2016 Hi, You can use ajaxRequest for this Best regards. Quote Link to comment Share on other sites More sharing options...
delagoutte Posted July 13, 2016 Author Share Posted July 13, 2016 yes, it works thank you 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.