Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How call a procedure when user clicks TIWURL
#1
I'm writing an IntraWeb 14 application in Delphi and I want to reset and enable my input form when the user clicks on the URL to the instructions page.

However, TIWURL does not have an OnClick or OnAsyncClick event.  OnAsyncClick shows up via Code Completion, but I can't actually access and use it.  I know that there is an OnClick event in the ScriptEvents property, but I know nothing of Javascript and have no idea of how to write a script to call my Delphi code procedure.  My best guess is that I need to define a callback function, but I have no idea of how to call it via Javascript, and even better, how to pass a parameter back to Delphi from Javascript.

Does anyone know how to do this?  A simple example would be awesome!

Thanks in advance,

George
Reply


Messages In This Thread
How call a procedure when user clicks TIWURL - by DEKETO - 05-24-2022, 08:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)