HTML Editor Delphi7

Download Add to Cart

Using the nBit HTML Editor in Borland Delphi7


See Also...
Editor User Interface Part 1
Editor User Interface Part 2
Programmers API
Using the Editor in VB6
Using the Editor in Microsoft Access 
Using the Editor in Delphi
Using the editor in .NET
In Borland Delphi you need to create a wrapper class for the editor so that it can be seeded onto a Delphi Form. 

1. Start a new Delphi Exe Project
2. Under the tools menu select Environment Options


3. Enable the Ignore special CoClass Flags when importing and Can Create options

4. Select Project -> Import Type Library 

5. In the list select rmpHTML. Ensure the Create Component Wrapper option is selected and press Install.

6. Click OK on install into Existing Package

7. In the ActiveX tab of your available Dephi components you can now drag and drop the editor ( second from the right ) onto your Delphi form.

8. Alternatively you may download this file ( ) and select install component from the component menu

To enable clipboard operations in Delphi you must add the following line to the bottom of the rmpHTML_TLB.pas file 

procedure Register;
  RegisterComponents(dtlOcxPage, [THTMLed]);
  RegisterComponents(dtlServerPage, [TclsDirectoryList, TclsDirectoryItem]);

initialization           // add this
  OleInitialize(nil);  // add this

finalization            // add this
  OleUninitialize;    // add this


To prevent GPL errors when closing applications containing the control implement the following into each form containing the control. 

procedure TForm1.FormActivate(Sender: TObject);
  var lKey: widestring;

  lKey := 'demoKey';

  htmled1.setLicenceKey (lKey);

procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);



Navigation - Previous : Next

Download Add to Cart

Shopping Cart