?? installation.htm
字號:
<td width="50%"><font face="Arial" size="2" color="#800000">savefrm.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">SaveGrid component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">savegrid.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Source Code Finder expert</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adfindex.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">DateTime Suite (main
components)</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">addsuite.pas (Note: install
the pas file )</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">DateTime Suite (Baselevel
components)</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adbase.pas (Note: install the
pas file )</font></td>
</tr>
</table>
</center></div><p><font face="Comic Sans MS" size="2">You can multi-select in the usual
Windows way (holding the Control key down).</font></p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><img src="install3.gif" alt="Selecting the components (in this example, compiled units) to the package" WIDTH="426" HEIGHT="264"></td>
</tr>
</table>
<p> </p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><img src="install4.gif" alt="All ready - about to compile up the package..." WIDTH="535" HEIGHT="256"></td>
</tr>
</table>
<p><font face="Comic Sans MS" size="2">Once you've selected the units - OK the 'Install
Component' dialogue - you'll be prompted to confirm building and installing the package...</font></p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><img src="install5.gif" alt="OK'd - now confirm the build and install" WIDTH="385" HEIGHT="296"></td>
</tr>
</table>
<p><font face="Comic Sans MS" size="2">And confirm changes necessary to continue the
build...</font></p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><img src="install6.gif" alt="Confirm necesary changes to the Adrock lib" WIDTH="367" HEIGHT="287"></td>
</tr>
</table>
<p><font face="Comic Sans MS" size="2">If you've set the show compilation progress in the
environment options you'll see the package compiling and installing. You should end
up with a dialogue showing you the components that have been installed.</font></p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><img src="install7.gif" alt="All done!" WIDTH="475" HEIGHT="142"></td>
</tr>
</table>
<p><font face="Comic Sans MS" size="2">You will notice on your VCL Palette bar in Delphi
that there is now a new tab called ADROCK, inside here will be an icon to represent the
component you just installed. </font></p>
<p><strong><font face="Comic Sans MS" size="2">Delphi 4 installation notes:</font></strong></p>
<p><font face="Comic Sans MS" size="2">I dunno, but <strong>the install of unit files
(dcu's) into D4 is a bit weird</strong>. The <em>unit files will open in the package
editor window (and you'll consequently get a lot of messages about lines being too long)</em>.
</font></p>
<p><font face="Comic Sans MS" size="2">What I've been doing is simply closing all these
windows - and then continuing (re-doing) the build. I've also noted it won't
build and install in one step. You'll probably have to use the Install button on the
Package dialog.</font></p>
<p><font face="Comic Sans MS" size="2">Additionally, the dcr (VCL palette icon) files
often do not get included in the Package source. To fix this, right click the
Package dialog (see the picture - right click, for example, where the mouse is below and
you get the context menu)...</font></p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><img src="install8.gif" alt="We've just right clicked where the mouse is, we'll select the 'View Source' option" WIDTH="368" HEIGHT="403"></td>
</tr>
</table>
<p><font face="Comic Sans MS" size="2">Select the 'View Source' menu option.</font></p>
<p>You should have something like this:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><img src="install9.gif" alt="... viewing the source for our Adrock.dpk" WIDTH="437" HEIGHT="343"></td>
</tr>
</table>
<p><font face="Comic Sans MS" size="2">Note the dcr files at the top of the list.
While yours may not match the sample picture above, it sure should include dcr files
appropriate to the components you're installing.</font></p>
<p><font face="Comic Sans MS" size="2">If you don't have 'em in the list - you could cut
n' past appropriate lines from the list below - then re-compile the library and your VCL
palette will now show the correct icons. </font></p>
<p><font face="Comic Sans MS" size="2">NB: the DateTime Suite does not seem to be
affected, as the files you install are pas files (and these in turn register all the
components to Delphi). Likewise, if you're using the Adrock source code, you won't
have the problem either. This problem just affects installation of compiled units
(dcu's) that have the Delphi VCL register code imbedded. <br>
(Any other (better) workarounds or solutions, please e-mail us at: <a href="mailto:Adrock@Adrock.com">Adrock@Adrock.com</a>) </font></p>
<blockquote>
<blockquote>
<p><font face="Arial" size="3">{$R ADALARM.DCR}<br>
{$R ADCLOCK.DCR}<br>
{$R ADGRAD.DCR}<br>
{$R ADGROUP.DCR}<br>
{$R SAVEFRM.DCR}<br>
{$R SAVGRD32.DCR}<br>
{$R *.RES}<br>
</font></p>
</blockquote>
</blockquote>
</blockquote>
<div align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%" align="center"><a href="installation.htm#Top"><img src="pagetop.gif" alt="Go to top of page" border="0" WIDTH="48" HEIGHT="21"></a></td>
</tr>
</table>
</center></div>
<p><a name="Delphi 2:"><strong><font face="Comic Sans MS" size="2">Delphi 2:</font></strong></a></p>
<blockquote>
<p><font face="Comic Sans MS" size="2">Go: 'Component', 'Install'</font></p>
<p><font face="Comic Sans MS" size="2">Click the 'Add' button and browse to 'c:\adrock\d2'</font></p>
<p><font face="Comic Sans MS" size="2">Install the components according to the following
table:<br>
(Source code owners: can copy the contents of the Source subdirectory into the D2
subdirectory (overwrite any duplicate names) and install the .pas files instead of the
pre-compiled units)</font></p>
<div align="center"><center><table border="1" cellpadding="0" cellspacing="0" width="100%" bgcolor="#C0C0C0">
<tr>
<td width="50%" align="center" bgcolor="#808080"><font face="Comic Sans MS" size="2" color="#FFFF00"><strong>Name</strong></font></td>
<td width="50%" align="center" bgcolor="#808080"><font face="Comic Sans MS" size="2" color="#FFFF00"><strong>Install this file</strong></font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">AlarmList component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adalarm.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Bitmap Property Editor</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adtbitma.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Analogue Clock component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adclock.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Date Functions Class</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">NA (see <a href="installation.htm#Date Functions Class">Date Functions Class</a> for more...)</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Message Dialogue component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">NA (see <a href="installation.htm#Message Dialogue Class">Message Dialogue Class</a> for more...)</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Gradient Fill component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adgrad.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Group Box component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adgroup.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">SaveForm component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">savefrm.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">SaveGrid component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">savegrid.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Source Code Finder expert</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adfindex.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">DateTime Suite (main
components)</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">addsuite.pas (Note: install
the pas file )</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">DateTime Suite (Baselevel
components)</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adbase.pas (Note: install the
pas file )</font></td>
</tr>
</table>
</center></div>
</blockquote>
<blockquote>
<p><font face="Comic Sans MS" size="2">If you're installing more than one component Delphi
2 forces single selection of units or source to add. However, it doesn't take long
to repetitively add more in; ('Add', 'Browse', <select component>, 'Add', 'Browse',
<select component> ... etc).</font></p>
</blockquote>
<blockquote>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><img src="install14.gif" alt="The Delphi 2 'Install Components' dialog" WIDTH="418" HEIGHT="324"></td>
</tr>
</table>
</blockquote>
<blockquote>
<p><font face="Comic Sans MS" size="2">And when you're ready, press the 'OK' button to
compile. (You should see the compile progress and then the library link process).</font></p>
</blockquote>
<div align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%" align="center"><a href="installation.htm#Top"><img src="pagetop.gif" alt="Go to top of page" border="0" WIDTH="48" HEIGHT="21"></a></td>
</tr>
</table>
</center></div>
<p><a name="Delphi 1:"><font face="Comic Sans MS" size="2"><strong>Delphi 1:</strong></font></a></p>
<blockquote>
<p><font face="Comic Sans MS" size="2">Go: 'Options', 'Install Components'.</font></p>
<p><font face="Comic Sans MS" size="2">Click the 'Add' button and browse to 'c:\adrock\d1'<br>
(You'll need to change the 'List Files of type:' to show 'Unit File (*.DCU)' - and indeed
you need to do this repetitively if installing several components at once)</font></p>
<p><font face="Comic Sans MS" size="2">Install the components according to the following
table:<br>
(Source code owners: can copy the contents of the Source subdirectory into the D1
subdirectory (overwrite any duplicate names) and install the .pas files instead of the
pre-compiled units)</font></p>
<div align="center"><center><table border="1" cellpadding="0" cellspacing="0" width="100%" bgcolor="#C0C0C0">
<tr>
<td width="50%" align="center" bgcolor="#808080"><font face="Comic Sans MS" size="2" color="#FFFF00"><strong>Name</strong></font></td>
<td width="50%" align="center" bgcolor="#808080"><font face="Comic Sans MS" size="2" color="#FFFF00"><strong>Install this file</strong></font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">AlarmList component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adalarm.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Bitmap Property Editor</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adtbitma.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Analogue Clock component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">adclock.dcu</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Date Functions Class</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">NA (see <a href="installation.htm#Date Functions Class">Date Functions Class</a> for more...)</font></td>
</tr>
<tr>
<td width="50%"><font face="Arial" size="2" color="#800000">Message Dialogue component</font></td>
<td width="50%"><font face="Arial" size="2" color="#800000">NA (see <a href="installation.htm#Message Dialogue Class">Message Dialogue Class</a> for more...)</font></td>
</tr>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -