Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWControlHelper::AddJavaScriptToExecute in C++ Builder (Priority support)
#1
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?
Reply
#2
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)