source: cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/HTMLEdit/EwbReg.pas@ 1591

Last change on this file since 1591 was 541, checked in by Kevin Toppenberg, 15 years ago

TMG Ver 1.1 Added HTML Support, better demographics editing

File size: 6.3 KB
RevLine 
[541]1//**************************************************************
2// *
3// Ewb_Reg *
4// *
5// For Delphi *
6// by *
7// bsalsa - Eran Bodankin - bsalsa@gmail.com *
8// *
9// *
10// Updated versions: *
11// http://www.bsalsa.com *
12//**************************************************************
13{*******************************************************************************}
14{LICENSE:
15THIS SOFTWARE IS PROVIDED TO YOU "AS IS" WITHOUT WARRANTY OF ANY KIND,
16EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE APPLIED
17WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
18YOU ASSUME THE ENTIRE RISK AS TO THE ACCURACY AND THE USE OF THE SOFTWARE
19AND ALL OTHER RISK ARISING OUT OF THE USE OR PERFORMANCE OF THIS SOFTWARE
20AND DOCUMENTATION. BSALSA PRODUCTIONS DOES NOT WARRANT THAT THE SOFTWARE IS ERROR-FREE
21OR WILL OPERATE WITHOUT INTERRUPTION. THE SOFTWARE IS NOT DESIGNED, INTENDED
22OR LICENSED FOR USE IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE CONTROLS,
23INCLUDING WITHOUT LIMITATION, THE DESIGN, CONSTRUCTION, MAINTENANCE OR
24OPERATION OF NUCLEAR FACILITIES, AIRCRAFT NAVIGATION OR COMMUNICATION SYSTEMS,
25AIR TRAFFIC CONTROL, AND LIFE SUPPORT OR WEAPONS SYSTEMS. BSALSA PRODUCTIONS SPECIFICALLY
26DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR SUCH PURPOSE.
27
28You may use, change or modify the component under 4 conditions:
291. In your website, add a link to "http://www.bsalsa.com"
302. In your application, add credits to "Embedded Web Browser"
313. Mail me (bsalsa@gmail.com) any code change in the unit
32 for the benefit of the other users.
334. Please, consider donation in our web site!
34{*******************************************************************************}
35
36unit EwbReg;
37
38interface
39
40{$I EWB.inc}
41
42uses
43 Classes, {$IFDEF DELPHI6_UP}DesignEditors, DesignIntf, {$ELSE}DsgnIntf, {$ENDIF}
44 EwbEditors, AppWebUpdater, IEParser, ExportFavorites, FavoritesTree, IETravelLog,
45 FavMenu, FavoritesListView, FavoritesPopup, HistoryMenu, HistoryListView,
46 ImportFavorites, LibXmlComps, LibXmlParser, LinksBar, RichEditBrowser,
47 SecurityManager, SendMail_For_Ewb, UrlHistory, Edithost, EditDesigner,
48 IEAddress, IEDownload, IEMultiDownload, EwbCore, EmbeddedWB, EwbControlComponent, IECache, Browse4Folder,
49 FileExtAssociate, LinkLabel, UI_Less,
50{$IFDEF DELPHI6_UP}EwbEventsComp, EwbBehaviorsComp, {$ENDIF}EwbActns;
51
52procedure Register;
53
54implementation
55
56uses
57 SysUtils, ActnList;
58
59procedure Register;
60begin
61 RegisterComponents('Embedded Web Browser', [
62 TBrowse4Folder,
63{$IFDEF DELPHI6_UP}
64 TEwbBehaviorFactory,
65 TEwbBehaviorController,
66{$ENDIF}
67 TEasyXmlScanner,
68 TEditDesigner,
69 TEdithost,
70 TEmbeddedWB,
71 TEwbCore,
72 TEwbControl,
73 TEwbMapiMail,
74 TExportFavorite,
75 TFavoritesListView,
76 TFavoritesMenu,
77 TFavoritesPopup,
78 TFavoritesTree,
79 TFileExtAssociate,
80 THistoryListView,
81 THistoryMenu,
82{$IFDEF DELPHI6_UP}
83 THtmlListener,
84{$ENDIF}
85 TIEAddress,
86 TIECache,
87 TIEDownload,
88 TIEMultiDownload,
89 TIEParser,
90 TIETravelLog,
91 TImportFavorite,
92 TLinkLabel,
93 TLinksBar,
94 TRichEditWB,
95 TSecurityManager,
96 TUILess,
97 TUrlHistory,
98 TWebUpdater,
99 TXmlScanner
100 ]);
101
102
103 RegisterComponentEditor(TBrowse4Folder, TBFFEditor);
104{$IFDEF DELPHI6_UP}
105 RegisterComponentEditor(TEwbBehaviorFactory, TEwbCompEditor);
106 RegisterComponentEditor(TEwbBehaviorController, TEwbCompEditor);
107{$ENDIF}
108 RegisterComponentEditor(TEasyXmlScanner, TEwbCompEditor);
109 RegisterComponentEditor(TEditDesigner, TEwbCompEditor);
110 RegisterComponentEditor(TEdithost, TEwbCompEditor);
111 RegisterComponentEditor(TEmbeddedWB, TEwbCompEditor);
112 RegisterComponentEditor(TEwbCore, TEwbCompEditor);
113 RegisterComponentEditor(TEwbControl, TEwbCompEditor);
114 RegisterComponentEditor(TEwbMapiMail, TEwbCompEditor);
115 RegisterComponentEditor(TExportFavorite, TEwbCompEditor);
116 RegisterComponentEditor(TFavoritesListView, TEwbCompEditor);
117 RegisterComponentEditor(TFavoritesMenu, TEwbCompEditor);
118 RegisterComponentEditor(TFavoritesTree, TEwbCompEditor);
119 RegisterComponentEditor(TFileExtAssociate, TEwbCompEditor);
120 RegisterComponentEditor(THistoryListView, TEwbCompEditor);
121 RegisterComponentEditor(THistoryMenu, TEwbCompEditor);
122{$IFDEF DELPHI6_UP}
123 RegisterComponentEditor(THtmlListener, TEwbCompEditor);
124{$ENDIF}
125 RegisterComponentEditor(TIEAddress, TEwbCompEditor);
126 RegisterComponentEditor(TIECache, TEwbCompEditor);
127 RegisterComponentEditor(TIEDownload, TEwbCompEditor);
128 RegisterComponentEditor(TIEMultiDownload, TEwbCompEditor);
129 RegisterComponentEditor(TIEParser, TEwbCompEditor);
130 RegisterComponentEditor(TIETravelLog, TEwbCompEditor);
131 RegisterComponentEditor(TImportFavorite, TEwbCompEditor);
132 RegisterComponentEditor(TLinkLabel, TEwbCompEditor);
133 RegisterComponentEditor(TLinksBar, TEwbCompEditor);
134 RegisterComponentEditor(TRichEditWB, TEwbCompEditor);
135 RegisterComponentEditor(TSecurityManager, TEwbCompEditor);
136 RegisterComponentEditor(TUILess, TEwbCompEditor);
137 RegisterComponentEditor(TUrlHistory, TEwbCompEditor);
138 RegisterComponentEditor(TWebUpdater, TEwbCompEditor);
139 RegisterComponentEditor(TXmlScanner, TEwbCompEditor);
140
141
142 RegisterPropertyEditor(TypeInfo(WideString), TIEDownload, 'DownloadDir', TBrowse4FolderDLG);
143 RegisterPropertyEditor(TypeInfo(WideString), TIEParser, 'LocalFileName', TOpenFileDLG);
144 RegisterPropertyEditor(TypeInfo(WideString), TIEParser, 'SaveLogAs', TSaveTextDLG);
145 RegisterPropertyEditor(TypeInfo(WideString), TBrowse4Folder, 'InitialDir', TBrowse4FolderDLG);
146{$IFDEF DELPHI6_UP}
147 RegisterPropertyEditor(TypeInfo(WideString), TEmbeddedWB, 'HostCSS', TMultiStringProperty);
148{$ENDIF}
149 RegisterActions('EmbeddedWB', [TEwbLinkAction], nil);
150end;
151
152end.
Note: See TracBrowser for help on using the repository browser.