EControl Form Designer Pro
Insallation

EControl Form Designer Pro consist of only one package: zDesignXX.bpl 

 

1. Unpack source files, for example, in "C:\EControl". 

There will be 6 directories: 

C:\EControl\EControl_Designer\Packages 

C:\EControl\EControl_Designer\Sources 

C:\EControl\EControl_Designer\No_Bpl 

C:\EControl\EControl_Designer\DsnEditors 

C:\EControl\EControl_Designer\Demo 

C:\EControl\EControl_Designer\Help 

 

2. Update library path

- Open in Delphi IDE dialog "Environment Options", tab sheet "Library" 

- Add to "Library path"

  • C:\EControl\EControl_Designer\Sources;
  • C:\EControl\EControl_Designer\No_Bpl;
  • C:\EControl\EControl_Designer\No_Bpl\DB;
  • C:\EControl\EControl_Designer\No_Bpl\DB\Extra;
  • C:\EControl\EControl_Designer\DsnEditors;
  • $(DELPHI)\Source\ToolsApi in Delphi 5,6,7 or $(DELPHI)\Source\Win32\ToolsApi in BDS;
  • $(DELPHI)\Source\Property editors in Delphi 5,6,7 or $(DELPHI)\Source\Win32\Property editors in BDS.

 

3. Open library project (EControl_Designer\Packages\): 

zDesign5.dpk - Delphi 5; 

zDesign6.dpk - Delphi 6; 

zDesign7.dpk - Delphi 7; 

zDesign9.bdsproj - Delphi 2005; 

zDesign10.bdsproj - Delphi 2006; 

zDesign11.dproj - Delphi 2007; 

zDesign12.dproj - Delphi 2009; 

zDesign14.dproj - Delphi 2010; 

zDesign15.dproj - Delphi XE; 

zDesign16.dproj - Delphi XE2, C++Builder XE2; 

zDesignC5.bpk - C++Builder 5; 

zDesignC6.bpk - C++Builder 6; 

zDesign10C.bdsproj - C++Builder 2006; 

zDesign11C.cbproj - C++Builder 2007 

zDesign12C.cbproj - C++Builder 2009 

zDesign14C.cbproj - C++Builder 2010 

zDesign15C.cbproj - C++Builder XE 

 

4. Install package. 

In project popup menu select command "Install". Library will be compiled and installed. 

 

5. Important conditionals (you should add them in project options) 

EC_NO_BPL - added for applications without using runtime packages, 

EC_DSN_REG - removes registration confirmation, 

NEWNEWDESIGNER - required for applications without using runtime packages to compile TStringListProperty (unit stredit). 

 

6. Building applications 

EControl Form Designer Pro may be used in applications that are built with runtime packages and in applications without using runtime packages, i.e. in standalone EXE. See Using DesignIDE.BPL topic for more details. 

 

7. TRIAL version. 

Trial version can be used only with runtime packages! To build any application you need to update project options (see Using DesignIDE.BPL topic for more details). 

Archive with trial version contains next files: zDesign##.bpl, zDesign##.dcp for Delphi; zDesignC##.bpl, zDesignC##.bpi, zDesignC##.lib for C++Builder. 

Unpack these files to "...\BPL" and "...\DCP" folders (depends on Delphi/C++Builder version). In IDE select "Component | Install packages" menu where add zDesign##.bpl to installed packages. 

 

8. C++ Builder specific 

Concept of using Form Designer without runtime packages is based on recompilation of designIDE units from ($BDS)\Source\ToolsAPI; ($BDS)\Source\Win32\Property Editors and EControl_Designer\No_Bpl with global define EC_NO_BPL. These files are Pascal units. In Delphi recompilation is performed automatically, but in C++Builder these units will not be recompiled. Object files created when building package do not suit because they are compiled without EC_NO_BPL define. 

To resolve this problem you may use next approach: add to your C++ project one pascal file which will use units from folders mentions above, for example: 

 

unit Pas_In_Cpp;

interface

{$ObjExportAll On}

uses {$IFNDEF VER130}
     DesignWindows,
     ComponentDesigner,
     PropertyCategories,
     edsCompDsn,
     {$ENDIF}
     proxies,
     ed_Designer,
     StdRegComps,
     events,
     ecDlList,
     edActns,
     edcCmbCombo,
     edcCompPal,
     edcPropCtrl,
     picEdit,
     eddObjInspFrm;

{$IFNDEF EC_NO_BPL}
ERROR:  This unit only to be used when compiling without runtime packages
{$ENDIF}

implementation

end.

 

This approach is used in demo EControl_Designer\Demo\MDI_CPP

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!