home *** CD-ROM | disk | FTP | other *** search
/ PC Format Collection 48 / SENT14D.ISO / tech / delphi / disk1 / manuals.txt < prev    next >
Encoding:
Text File  |  1997-02-03  |  7.9 KB  |  213 lines

  1. ===========
  2. MANUALS.TXT
  3. ===========
  4.  
  5. This file contains updates to the online Text and Help files.
  6.  
  7. CONTENTS:
  8. 1. ONLINE TEXT FILES
  9.  
  10. 2. ONLINE HELP
  11.  
  12. ===========================================================================
  13. 1. ONLINE TEXT FILES
  14.    The following online text files provide additional
  15.    documentation:
  16.  
  17.      INSTALL.TXT  - Located in \DELPHI, contains information on
  18.                     troubleshooting installation and
  19.                     configuration problems.
  20.      README.TXT   - Located in \DELPHI, includes late-breaking
  21.                     information, compatibility notes, a list of
  22.                     all example programs, and information on how
  23.                     to get help from Borland.
  24.      READRS.TXT   - Located in \RPTSMITH, README for ReportSmith.
  25.      READIB.TXT   - Located in \IBLOCAL, README for the Local
  26.                     InterBase Server.
  27.      READLINK.TXT - Located in \IDAPI, README for the Borland
  28.                     Database Engine.
  29.      READDBD.TXT  - Located in \DBD, README for the Database
  30.                     Desktop.
  31.      FILELIST.TXT - Located in \DELPHI, contains a list of all
  32.                     files installed by the SETUP program.
  33.      DEPLOY.TXT   - Located in \DELPHI, contains important
  34.                     information about licensing and
  35.                     redistribution of Delphi, ReportSmith,
  36.                     and InterBase applications.
  37.      MANUALS.TXT  - This file.
  38.      INIFILE.TXT  - Located in \DELPHI\DOC, tells you how to
  39.                     customize Delphi via settings in
  40.                     \WINDOWS\DELPHI.INI. Also provides section
  41.                     naming conventions for component writers
  42.                     wishing to store and retrieve design-time
  43.                     information in DELPHI.INI.
  44.      ASCIIDRV.TXT - Located in \DELPHI\DOC, provides information
  45.                     about the ASCII text driver for the BDE.
  46.      VB2DELPH.WRI - Located in \DELPHI\DOC, this technical paper
  47.                     provides hints for Visual Basic who are
  48.                     converting their projects to Delphi.
  49.      TOOLINTF.PAS - Defines the Delphi Open Tools API which
  50.                     allows your custom version control .DLL or
  51.                     expert to interface with the Delphi
  52.                     environment.
  53.      VCSINTF.PAS  - Defines the interface you must provide so
  54.                     Delphi can call your custom version control
  55.                     DLL's entry points.
  56.      VIRTINTF.PAS - Base classes for your custom version control
  57.                     and experts to inherit from.
  58.      EXPTINTF.PAS - Defines the interface you must provide so
  59.                     Delphi can call your expert's entry points.
  60.      ISTREAMS.PAS - Defines a virtual stream interface for
  61.                     communicating data to the Delphi environment.
  62.      DBCTRLS.PAS  - The source code to the DBCTRLS unit to help
  63.                     you understand how to write data aware
  64.                     controls.
  65.  
  66. 2. ONLINE HELP:
  67.  
  68. Installation Help
  69. =================
  70. Help for the first Delphi Installation Dialog box lists Turbo
  71. Debugger as one of the products installed with Delphi. Turbo
  72. Debugger is not included with this version of Delphi.
  73.  
  74. Run-Time Library information:
  75. =============================
  76. Run-Time Library examples that use Writeln: in order to use
  77. Writeln you must add WinCrt to the Uses clause.
  78.  
  79. VCL information:
  80. ================
  81. Please note the following new VCL information:
  82.  
  83. Cursor Property:
  84. ================
  85. The crNone property value hides the cursor and is not listed in
  86. the table in the "Cursor property" help topic:
  87.  
  88.   crNone = -1;
  89.  
  90. Add Method of TFieldDefs:
  91. -------------------------
  92. Declaration:
  93. procedure Add(const Name: string; DataType: TFieldType; Size:
  94.   Word; Required: Boolean);
  95.  
  96. The value of the Required parameter initializes the
  97. TFieldDefs.Required property.
  98.  
  99. Hints property of TDBNavigator:
  100. -------------------------------
  101. Declaration:
  102. property Hints: Tstrings;
  103.  
  104. Description:
  105. The Hints property allows you to customize the help hints
  106. for the buttons on the database navigator. Each hint is
  107. a string. The first string in the string object becomes the
  108. Help Hint for the first button on the navigator. The seventh
  109. hint becomes the Help Hint for the seventh button (the Edit
  110. button).
  111. If you don't want to change the Help Hint for every
  112. button, enter an empty string (") for the Help Hint you want
  113. to stay the same, or simply leave the the line blank if you
  114. are using the string list property editor of the Object Inspector
  115. for the Hints property.
  116.  
  117. ItemAtPos method of TTabSet
  118. ---------------------------
  119. Description:
  120. The declaration in the online help should read:
  121.  
  122.   function ItemAtPos(Pos: TPoint): Integer;
  123.  
  124.  
  125. GetDatabaseNames method of TSession:
  126. ------------------------------------
  127. Description:
  128. The GetDatabaseNames method clears the TStrings List parameter
  129. and fills it with the names of all BDE and application-specific
  130. aliases.
  131.  
  132. FormCount property of TScreen:
  133. ------------------------------
  134. Description:
  135. Run-time and read only. The FormCount property value contains the
  136. number of forms in the TScreen.Forms property array.
  137.  
  138. OnShowHint property of TApplication:
  139. ------------------------------------
  140. Description:
  141. The OnShowHint event occurs when the application is about to
  142. display a hint window for a Help Hint for a particular control.
  143. By writing an event handler for OnShowHint, you can change the
  144. appearance and behavior of the Help Hint. Use the HintStr, CanShow,
  145. and HintInfo parameters of the TShowHintEvent method pointer
  146. to modify the Help Hint and its window. The HintInfo parameter
  147. is a record of type THintInfo.
  148.  
  149. Brush property of TCanvas
  150. -------------------------
  151. Description:
  152. When you make changes to a bitmap that a Brush is referencing,
  153. you need to force the Brush to update itself by setting its style
  154. to bsSolid and then reassigning the bitmap to the brush:
  155.  
  156.   Canvas.Brush.Bitmap := MyBitmap;
  157.   ...
  158.   MyBitmap.Canvas.FillRect(Rect(0, 0, 8, 8));
  159.   ...
  160.   Canvas.Brush.Style := bsSolid;    { this line required }
  161.   Canvas.Brush.Bitmap := MyBitmap;
  162.  
  163. CallExitProcs procedure in SysUtils unit
  164. ----------------------------------------
  165. CallExitProcs executes all installed exit procedures. The exit
  166. procedures are executed in reverse order of definition, i.e. the
  167. last one installed is the first one to get executed. As the
  168. procedures are executed, they are removed from the exit procedure
  169. chain. Thus, following a call to CallExitProcs, the ExitProc
  170. variable (defined in the System unit) will be NIL.
  171.  
  172. CallExitProcs is intended for use in the termination procedure of
  173. a DLL. Refer to the \DELPHI\DEMOS\DB\BDEDLL directory for an
  174. example of a DLL that uses CallExitProcs as part of its shutdown
  175. handling.
  176.  
  177. Using StretchDIBits instead of Draw for bitmap printing
  178. -------------------------------------------------------
  179. Bitmap printing - When printing a bitmap, make sure to use the
  180. Windows API routine StretchDIBits. For example, here's a function
  181. that prints an arbitrary TBitmap at the specified X,Y location:
  182.  
  183.   procedure PrintBitmap(Bitmap: TBitmap; X, Y: Integer);
  184.   var
  185.     Info: PBitmapInfo;
  186.     InfoSize: Integer;
  187.     Image: Pointer;
  188.     ImageSize: Longint;
  189.   begin
  190.     with Bitmap do
  191.     begin
  192.       GetDIBSizes(Handle, InfoSize, ImageSize);
  193.       Info := MemAlloc(InfoSize);
  194.       try
  195.         Image := MemAlloc(ImageSize);
  196.         try
  197.           GetDIB(Handle, Palette, Info^, Image^);
  198.           with Info^.bmiHeader do
  199.             StretchDIBits(Printer.Canvas.Handle, X, Y, Width,
  200.               Height, 0, 0, biWidth, biHeight, Image, Info^,
  201.               DIB_RGB_COLORS, SRCCOPY);
  202.         finally
  203.           FreeMem(Image, ImageSize);
  204.         end;
  205.       finally
  206.         FreeMem(Info, InfoSize);
  207.       end;
  208.     end;
  209.   end;
  210. -----------------------------------------------------------------
  211.  
  212.  
  213.