Home > Back-end >  Embedded in the written in the delphi7 exe OCX, how can the method in the operation in the OCX exe
Embedded in the written in the delphi7 exe OCX, how can the method in the operation in the OCX exe

Time:10-11

The OCX is for web pages and exe calls, now has achieved OCX invoke javascript method:
IImageLabelXEvents=dispinterface
[' {E2921F01 a1c - 459 - a - 8-9 ffe - E02DB0A0D090} ']
Procedure SelObjInfo (const InfoID: WideString); Dispid 209;
end;

In the javascript call like this:
<script Language="JavaScript" event="SelObjInfo (InfoID)" for="ImageLabel & gt;"
Alert (" entry ID: "+ InfoID);
</script>

When the operation method in the ocx so javascript can trigger events,

Now want to know how to trigger this event written in Delphi exe

CodePudding user response:

Didn't get up to now
  • Related