NNPaulo Posted August 26, 2019 Share Posted August 26, 2019 I to All, Does anyone have an example of calling JSConfig in C ++ Builder? Like: //UniBitBtn1.JSInterface.JSConfig('textAlign', ['left']); // Delphi UniBitBtn1->JSInterface->JSConfig("textAlign", ?????????????); ThanksInsert other media Quote Link to comment Share on other sites More sharing options...
akr Posted August 28, 2019 Share Posted August 28, 2019 C++ programmers have to wait for answers very long unfortunately. I have the same problem. We should get more attention. The combination of the clang c++ compilers and unigui is very powerful! Quote Link to comment Share on other sites More sharing options...
NNPaulo Posted August 28, 2019 Author Share Posted August 28, 2019 I agree, C++ is very powerful and UniGUI is fantastic, but is frustrating some difficulties found in UniGui with C++Builder. @Sherzod / @Farshad: how about creating a group / forum for UniGui users in C ++ Builder Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted August 28, 2019 Share Posted August 28, 2019 Hi Can you try this? JSConfig("textAlign", ARRAYOFCONST(("left"))); 1 Quote Link to comment Share on other sites More sharing options...
NNPaulo Posted August 28, 2019 Author Share Posted August 28, 2019 Hi Hayri, thanks for answer; I Try UniBitBtn1->JSInterface->JSConfig(L"textAlign", ARRAYOFCONST((L"left")) ); in UniFormCreate but the program compile but in chrome -> loading... and don't show the the form. the same in delphi UniBitBtn1.JSInterface.JSConfig('textAlign', ['left']); in TMainForm.UniFormCreate is OK and text in UniBitBtn align left I create a test program ( c++ BuilderXE ) Note: that sample is only for test of JSConfig; i evaluate UniGui and is only for that cases that is necessary use JS to extend the functionality of UniGui. BProject1.zip Quote Link to comment Share on other sites More sharing options...
NNPaulo Posted August 28, 2019 Author Share Posted August 28, 2019 OK I found the solution; UniBitBtn1->JSInterface->JSConfig((UnicodeString)L"textAlign", ARRAYOFCONST(((UnicodeString)L"left")) ); @Hayri: Thanks @akr: C++ is very powerfull but some time have this.... Quote Link to comment Share on other sites More sharing options...
akr Posted August 29, 2019 Share Posted August 29, 2019 @NNPaulo Are you a customer? We are interested but will not purchase until our questions have been answered. Unfortunately we are still waiting..... Quote Link to comment Share on other sites More sharing options...
NNPaulo Posted August 31, 2019 Author Share Posted August 31, 2019 Yes, I am a customer. And for now I'm satisfied. Small documentation, but good support. 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.