Atozed Forums

Full Version: IWControlHelper::AddJavaScriptToExecute in C++ Builder (Priority support)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to call a JavaScript function from a TMenuItem onClick event, which of course has no JavaScriptEvent!
So I would like to use AddJavaScriptToExecute() in C++ Builder.
The problem is that when I open IWControlHelper.hpp, I do not see any class with static members!
Just 2 void pointers!
Am I including the right file?
How can I call AddJavaScriptToExecute() for Sync events in C++ Builder?
This is a limitation of C++Builder. C++ doesn't actually support class helpers and it has never been implemented in C++Builder specifically. Not sure there is an easy way to use them from C++Builder code, but I'll see what can be done.