Delphi PDF Form Saver ActiveX

The Delphi ActiveX component is a wrapper around the default Aloaha PDF Form Saver OCX. Sometimes non Microsoft compile do have problems to use standard components. For this reason Aloaha introduced the delphi wrapper. This wrapper contains only 1 Function and 1 Event to cover the Aloaha PDF Saver functionality. The Aloaha Delphi ActiveX component has such an easy structure that it can be used by virtually any non Microsoft Compiler.

   
 DelphiAloaha Project Sample.zip (259,38 KB)

 VB6 sample DelphiTest.zip (4,93 KB)

Interfaces

The object name of the Delphi Wrapper is: DelphiAloaha.wrapp. It contains one public function AloahaCommand and one Event AloahaEvent.

After you created the object you can pass via AloahaCommand commands to the Aloaha PDF Forms OCX.

Before "drawing" to object on your dialog please make sure that at a minimum you have the following units declared:

Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, OleCtrls, DelphiAloaha_TLB, OleCtnrs, ExtCtrls;

Should you not manage to see the DelphiAloaha component you need to import it from <commondir>aloaha. Please have a look also at the tipps at the end of this document.




AloahaCommand syntax



All functions return a string with the result of the command. The same string value is also fired as event.

Every PDF function explained on the Aloaha Website could be mapped to a command. Please do not hesitate to contact us if you require a special command from other modules!

More commands can be added on request.



Import ActiveX Control in Delphi


In Delphi 6+:
Set the Tools | Environment Options | Type library | Ignore CanCreate flags when importing option to true before importing the control.


In previous Delphi versions:
Use File|Open, set the filter to Type Library files, open the ocx, and have a look at the CanCreate flag in the type library editor. Set it to true, save the typelibrary as a tlb, and try importing that.




Aloaha Software / Knowledge Base / PDF Form Saver SDK / Delphi ActiveX
create PDF Software

Delphi ActiveX

Any questions?
Aloaha Software - Delphi ActiveX
ProductsKnowledge BaseShopSupportPress
Deutsche VersionEnglish version