Einzelnen Beitrag anzeigen

HPW

Registriert seit: 28. Feb 2003
160 Beiträge
 
Delphi 7 Professional
 
#1

GDL-AktiveX plugin in delphi?

  Alt 9. Jul 2005, 08:26
Hallo,

Von graphisoft gibt es das GDL-Plugin für Architektur-Objekte.
Diese ActiveX kann man auch in eine delphi-Form importieren.
Das läuft auch soweit.

In einer Webpage kann man aber auch eine Kommunikation von Javascripte aus aufbauen und einen Returnwert triggern.

http://www.graphisoft.com/products/o...SettingDefault
Zitat:
1. Send the query to the object's instance:

GDL_Control.CallPlugin ("Command", "Parameter")

2. Request the result from the instance:

myVariable = GDL_Control.sResult
Das property sResult sehe ich auch im delphi-object-inspector.

In HTML sieht das dann so aus:

<INPUT type="button" value="Set myParam to 2" onclick="document.GDL_Control.CallPlugin ('SetParameter', 'smyParam=2')>
Hans-Peter
  Mit Zitat antworten Zitat