forked from wangshu/printv1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRxCtlReg.pas
68 lines (53 loc) · 1.75 KB
/
RxCtlReg.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{*******************************************************}
{ }
{ Delphi VCL Extensions (RX) }
{ }
{ Copyright (c) 1995, 1996 AO ROSNO }
{ Copyright (c) 1997, 1998 Master-Bank }
{ }
{*******************************************************}
{ Note:
- in Delphi 4.0 you must add DCLSTD40 and DCLSMP40 to the requires
page of the package you install this components into.
- in Delphi 3.0 you must add DCLSTD30 and DCLSMP30 to the requires
page of the package you install this components into.
- in C++Builder 3.0 you must add DCLSTD35 to the requires page of the
package you install this components into. }
unit RxCtlReg;
{$I RX.INC}
{$D-,L-,S-}
interface
{ Register custom useful controls }
procedure Register;
implementation
{$IFDEF WIN32}
{$R *.D32}
{$ELSE}
{$R *.D16}
{$ENDIF}
uses{$IFDEF WIN32}Windows, {$ELSE}WinTypes, {$ENDIF}Classes, SysUtils,
RTLConsts, DesignIntf, DesignEditors, VCLEditors, TypInfo, Controls, Graphics, ExtCtrls, Tabs, Dialogs, Forms,
{$IFDEF RX_D3}DsnConst, ExtDlgs, {$ELSE}LibConst, {$ENDIF}
{$IFDEF DCS}
{$IFDEF RX_D4}ImgEdit, {$ENDIF}{$IFDEF WIN32}ImgList, {$ENDIF}
{$ENDIF DCS}
{$IFDEF WIN32}RxRichEd, {$ENDIF}Menus, FiltEdit, StdCtrls, Buttons;
{$IFDEF RX_D3}
resourcestring
srSamples = 'Samples';
{$ENDIF}
procedure Register;
const
{$IFDEF RX_D3}
BaseClass: TClass = TPersistent;
{$ELSE}
BaseClass: TClass = TComponent;
{$ENDIF}
begin
RegisterComponents(LoadStr(61300),
[TRxRichEdit]);
{$IFDEF RX_D3}
RegisterNonActiveX([TRxRichEdit], axrComponentOnly);
{$ENDIF RX_D3}
end;
end.