Developer’s Guide

Скачать в pdf «Developer’s Guide»




Developer’s Guide


Developer’s Guide


Borland ®


Delphi » 4

for Windows 95 and Windows NT


Inprise Corporation, 100 Enterprise Way Scotts Valley, CA 95066-3249


Refer to the file DEPLOY.TXT located in the root directory of your Delphi 4 product for a complete list of files that you can distribute in accordance with the No-Nonsense License Statement.


Inprise may have patents and/or pending patent applications covering subject matter in this document. The furnishing of this document does not give you any license to these patents.


Copyright © 1983-1998 Inprise Corporation. All rights reserved. All Inprise and Borland products are trademarks or registered trademarks of Inprise Corporation. Other brand and product names are trademarks or registered trademarks of their respective holders.


Printed in the U.S.A.


HDA1340WW21001 2E1R698 9899000102-9 87 65 432 1 D4

Contents


Chapter 1


Introduction    1-1


What’s in this manual?…………..1-1


Manual conventions…………….1-2


Inprise developer support services…….1-3


Ordering printed documentation……..1-3


Part I


Programming with Delphi


Chapter 2


Using Object Pascal with the VCL    2-1


Understanding the distinction between


Object Pascal and the VCL………..2-1


Using the object model…………..2-2


What is an object?……………2-2


Examining a Delphi object………2-3


Inheriting data and code from an object. . . 2-6 Objects, components, and controls . . . . 2-8


Object scope……………….2-8


Accessing components on another


form………………..2-9


Scope and descendants of an object. . . .2-10 Accessing object fields and methods . . . 2-11

Скачать в pdf «Developer’s Guide»