Visual Component Library Reference Delphi for Windows

Total Page:16

File Type:pdf, Size:1020Kb

Visual Component Library Reference Delphi for Windows Visual Component Library Reference Delphi for Windows Introduction Copyright Agreement This manual is a reference for the Delphi Visual Component Library (VCL) and the Delphi run-time library. Use it when you want to look up the details of a particular VCL object, component, variable, property, method, event, routine, or type and find out how to use it. Note See online Help for documentation of the Object Pascal Language Definition and Reference. Manual conventions The printed manuals for Delphi use the typefaces and symbols described in Table Intro.1 to indicate special text. Table Intro.1 Typefaces and symbols in these manuals Typeface or symbol Meaning Monospace type Monospaced text represents text as it appears onscreen or in Object Pascal code. It also represents anything you must type. Boldface Boldfaced words in text or code listings represent Object Pascal reserved words or compiler directives. Italics Italicized words in text represent Object Pascal identifiers, such as variable or type names. Italics are also used to emphasize certain words, such as new terms. Keycaps This typeface indicates a key on your keyboard. For example, “Press Esc to exit a menu.” This symbol indicates a key, or important property, method, or event. This symbol indicates a run-time only property, method or event. Contacting Borland The Borland Assist program offers a range of technical support plans to fit the different needs of individuals, consultants, large corporations, and developers. To receive help with this product send in the registration card and select the Borland Assist plan that best suits your needs. North American customers can register by phone 24 hours a day by calling 1-800-845-0147. For additional details on these and other Borland services, see the Borland Assist Support and Services Guide included with this product. Introduction 1 Delphi Visual Component Library The VCL is made up of objects, most of which are also components. Using the objects and components of VCL, you are unlimited in the range of Windows programs you can develop rapidly. Delphi itself was built using VCL. Delphi objects contain both code and data. The data is stored in the fields and properties of the objects, and the code is made up of methods that act upon the field and property values. All objects descend from the ancestor object TObject. Components are visual objects that you can manipulate at design time. All components descend from the TComponent object. To program with a component, this is the model you will use most frequently: 1 Select a component from Delphi’s Component palette and add it to a form. 2 Set property values of the component using the Object Inspector. 3 Respond to events that might occur to the component at run time. To respond to an event, you write code within an event handler. Your code modifies property values and calls methods. For detailed information on how to perform these three steps, see the Delphi User’s Guide. You can create your own objects and components by deriving them from the existing Delphi objects and components. For information about writing your own components, see the Delphi Component Writer’s Guide. Visual Component Library objects Objects are the fundamental elements of the VCL. In fact, all components and controls are based on objects. Objects differ from controls in that you can access them only at run time. Unlike most components, objects do not appear on the Component palette. Instead, a default instance variable is declared in the unit of the object or you have to declare one yourself. For example, the Clipboard variable is declared in the Clipbrd unit. To use a TClipboard object, add the Clipbrd unit to the uses clause of the unit, then refer to the Clipboard variable. However, to use a TBitmap object, add the Graphics unit to the uses clause of the unit, then execute the following code at run time to declare an instance variable: var Bitmap1: TBitmap; begin Bitmap1 := TBitmap.Create; end; Note The memory allocated for objects that you explicitly declare should be released when you are finished with the object. For example, call the Free method of the bitmap: Bitmap1.Free; 2 Delphi Visual Component Library The properties, methods, and events that all objects have in common are inherited from an abstract object type called TObject. You need to understand the internal details of TObject only if you are creating a new object based on TObject. The following is a list of all objects in the VCL that directly descend from TObject.: Table Intro.2 VCL objects TBitmap TGraphic TOutlineNode TBlobStream TGraphicsObject TParam TBrush TIcon TParams TCanvas TIndexDef TPen TClipboard TIndexDefs TPicture TControlScrollBar TIniFile TPrinter TFieldDef TList TStringList TFieldDefs TMetafile TStrings TFont TOLEDropNotify Note In addition to these objects, all VCL components also descend from TObject, although not directly. The TObject object introduces the following methods that all objects and components inherit: Table Intro.3 Object methods ClassName ClassType Destroy ClassParent Create Free Visual Component Library components Components are the building blocks of Delphi applications. You build an application by adding components to forms and using the properties, methods, and events of the components. The properties, methods, and events that all components have in common are inherited from an abstract component type called TComponent. You need to understand the internal details of TComponent only if you are writing a component based on TComponent. The following is a list of all components in the VCL: Table Intro.4 VCL components TApplication TDDEClientItem TOutline TBatchMove TDDEServerConv TPaintBox TBCDField TDDEServerItem TPanel TBevel TDirectoryListBox TPopupMenu TBitBtn TDrawGrid TPrintDialog TBlobField TDriveComboBox TPrinterSetupDialog TBooleanField TEdit TQuery Introduction 3 Table Intro.4 VCL components (continued) TButton TField TRadioButton TBytesField TFileListBox TRadioGroup TCheckBox TFilterComboBox TReplaceDialog TColorDialog TFindDialog TReport TComboBox TFloatField TSaveDialog TCurrencyField TFontDialog TScreen TDatabase TForm TScrollBar TDataSource TGraphicField TScrollBox TDateField TGroupBox TSession TDateTimeField THeader TShape TDBCheckBox TImage TSmallIntField TDBComboBox TIntegerField TSpeedButton TDBEdit TLabel TStoredProc TDBGrid TListBox TStringField TDBImage TMainMenu TStringGrid TDBListBox TMaskEdit TTabbedNotebook TDBLookupCombo TMediaPlayer TTable TDBLookupList TMemo TTabSet TDBMemo TMemoField TTimeField TDBNavigator TMenuItem TTimer TDBRadioGroup TNotebook TVarBytesField TDBText TOLEContainer TWordField TDDEClientConv TOpenDialog Most components are available from the Component palette. You will not find the following components on the Component palette, however: Table Intro.5 Components not on the Component palette TApplication TDateTimeField TScreen TBCDField TField TSession TBlobField TFloatField TSmallIntField TBooleanField TGraphicField TStringField TBytesField TIntegerField TTimeField TCurrencyField TMemoField TVarBytesField TDateField TMenuItem TWordField The TComponent component introduces the following properties that all components inherit: Table Intro.6 Component properties ComponentCount Components Owner ComponentIndex Name Tag 4 Delphi Visual Component Library In addition to the methods components inherit from the TObject object, the TComponent component introduces the following: Table Intro.7 Component methods FindComponent InsertComponent RemoveComponent Visual Component Library controls Controls are visual components; that is, they are components you can see when your application is running. All controls have properties in common that specify the visual attributes of controls, such as Left, Top, Height, Width, Cursor, and Hint. The properties, methods, and events that all controls have in common are inherited from an abstract component type called TControl. You need to understand the internal details of TControl only if you are writing a component based on TControl. The following is a list of all controls in the VCL. Table Intro.8 VCL controls TBevel TDBText TNotebook TBitBtn TDirectoryListBox TOLEContainer TButton TDrawGrid TOutline TCheckBox TDriveComboBox TPaintBox TComboBox TEdit TPanel TDBCheckBox TFileListBox TRadioButton TDBComboBox TFilterComboBox TRadioGroup TDBEdit TForm TScrollBar TDBGrid TGroupBox TScrollBox TDBImage THeader TShape TDBListBox TImage TSpeedButton TDBLookupCombo TLabel TStringGrid TDBLookupList TListBox TTabbedNotebook TDBMemo TMaskEdit TTabSet TDBNavigator TMediaPlayer TDBRadioGroup TMemo In addition to the properties controls inherit from the TComponent component, the TControl component introduces the following: Table Intro.9 Control properties Align Cursor ShowHint BoundsRect Enabled Top ClientHeight Height Visible ClientOrigin Hint Width ClientRect Left ClientWidth Parent Introduction 5 In addition to the methods controls inherit from the TComponent component, the TControl component introduces the following methods: Table Intro.10 Control methods BeginDrag GetTextBuf Repaint BringToFront GetTextLen ScreenToClient ClientToScreen Hide SetBounds ControlAtPos Invalidate SetTextBuf Dragging Refresh Show EndDrag SendToBack Update Visual Component Library windowed controls Windowed controls are controls that: • Can receive focus while your application is running • Can contain other controls • Have a window handle All windowed controls have properties in common that specify their focus attributes, such as HelpContext, TabStop, and TabOrder.

  1072
Recommended publications
  • Visual Component Library VCL Autor: I
    Visual Component Library VCL Autor: I. Stepanenko Fecha: Monday 27th of September 2021 04:09:10 PM VCL (Visual Component Library) es un marco de trabajo desarrollado por Borland basado en objetos visuales que tienen como finalidad diseñarframes para las aplicaciones que se han programado para Windows y diseñada bajo el concepto de componente: propiedades, métodos y eventos. Está estructuralmente y visualmente sincronizado con Windows, pues el aspecto de las ventanas, los botones o los accesos a internet, etc. son similares. Actualmente es propiedad de CodeGear, de Embarcadero Technologies. Está escrita en Object Pascal (orientado a objetos) por lo que la VCL es una librería usada por los entornos de desarrollo Delphi y C++ Builder. Al hablar de este tipo de bibliotecas o toolkits, se hace mención implícitamente a la programación orientada a objetos, pues los componentes son clases predeterminadas, haciendo su uso más sencillo, visual y cómodo. Se diferencian dos tipos de componentes. Componentes visuales Entre los visuales se distinguen los botones, las etiquetas, las formas y demás elementos visibles. Componentes no visuales Entre los no visuales están los temporizadores, las conexiones a bases de datos y demás elementos sin interfaz gráfica. Clases más importantes Aunque no todas las clases hacen referencia a componentes concretos algunas realizan tareas de gestión interna y se utilizan como clases bases de las cuales derivan otras clases mediante la herencia. VCL es bastante profundo y complicado; no obstante, las clases que forman la parte superior jerárquica son clases abstractas y son: Artículo descargado de www.masterhacks.net | 1 Visual Component Library VCL Autor: I.
    [Show full text]
  • Rapid Application Development Software | Codegear RAD Studio
    RAD Studio 2010 Product Review Guide August 2009 Corporate Headquarters EMEA Headquarters Asia-Pacific Headquarters 100 California Street, 12th Floor York House L7. 313 La Trobe Street San Francisco, California 94111 18 York Road Melbourne VIC 3000 Maidenhead, Berkshire Australia SL6 1SF, United Kingdom RAD Studio 2010 Reviewer Guide TABLE OF CONTENTS Table of Contents ............................................................................................................................ - 1 - Introduction ...................................................................................................................................... - 3 - General Overview of RAD Studio 2010 ...................................................................................... - 3 - What is New in RAD Studio 2010 ............................................................................................... - 3 - A Word on Delphi Prism ............................................................................................................. - 6 - Prerequisites ................................................................................................................................ - 7 - Minimum System Requirements ................................................................................................. - 7 - Internationalizations .................................................................................................................... - 7 - Editions ........................................................................................................................................
    [Show full text]
  • RPC Broker 1.1 Deployment, Installation, Back-Out, and Rollback Ii May 2020 (DIBR) Guide
    RPC Broker 1.1 Deployment, Installation, Back-Out, and Rollback (DIBR) Guide May 2020 Department of Veterans Affairs (VA) Office of Information and Technology (OIT) Enterprise Program Management Office (EPMO) Revision History Documentation Revisions Date Revision Description Authors 05/05/2020 8.0 Tech Edits based on the Broker REDACTED Development Kit (BDK) release with RPC Broker Patch XWB*1.1*71: • Changed all references throughout to “Patch XWB*1.1*71” as the latest BDK release. • Updated the release date in Section 3. • Updated all project dates in Table 4. • Added a “Skip This Step” note in Section 4.3.2. • Updated “Disclaimer” note in Section 4.8. • Added “Skip Step ” disclaimer to Section 4.8.1. • Deleted Sections 4.8.1.3, 4.8.1.3.1, and 4.8.1.3.2, since there are no VistA M Server routines installed with RPC Broker Patch XWB*1.1*71. • Updated Section 4.8.2.1.4; deleted Figure 3, “Sample Patch XWB*1.1*71 Installation Dialogue (Test System),” since there are no VistA M Server routines installed with RPC Broker Patch XWB*1.1*71. • Updated Section 5.2; Added content indicating install is only on Programmer-Only workstations. • Updated Section 5.6.1; added a “Skip Step” disclaimer and deleted Figure 9, “Restoring VistA M Server Files from a Backup Message,” since there are no VistA M Server routines RPC Broker 1.1 Deployment, Installation, Back-Out, and Rollback ii May 2020 (DIBR) Guide Date Revision Description Authors installed with RPC Broker Patch XWB*1.1*71.
    [Show full text]
  • POWEROPT. Power Engineering Optimization Techniques Educational Software Library
    Available online at www.sciencedirect.com ScienceDirect Procedia - Social and Behavioral Sciences 191 ( 2015 ) 1790 – 1795 WCES 2014 POWEROPT. Power Engineering Optimization Techniques Educational Software Library Stefan Kilyenia, Constantin Barbulescua* aPolitehnica University Timisoara, Power Systems Department, 2 Bd. V, Parvan, 300223 Timisoara, Romania Abstract The power engineering field uses classic operational research methods and the most recent ones are based on artificial intelligence to solve a large number of optimization problems. In this context, this paper presents an optimization technique dedicated to an educational software library. It focuses on solving several optimization applications from the power engineering field. The software library is designed for students involved within the electrical power engineering field, at BSc and MSc levels. © 20152014 TheThe Authors. Authors. Published Published by by Elsevier Elsevier Ltd. Ltd This. is an open access article under the CC BY-NC-ND license (Selectionhttp://creativecommons.org/licenses/by-nc-nd/4.0/ and peer-review under responsibility of). the Organizing Committee of WCES 2014. Selection and peer-review under responsibility of the Organizing Committee of WCES 2014 Keywords:optimization techniques, educational software, power engineering. 1. Introduction The power engineering domain uses both models and classic methods of operational research and the most recent ones are based on artificial intelligence for solving a large number of optimization problems. In this context, this paper presents an optimization software library for the power engineering domain, to solve several applications. The programs use classic operational research methods dedicated for linear and nonlinear optimization problem solving and those specific to graphs theory. The software library synthesizes the experience accumulated in this field at the Politehnica University of Timisoara, Power Systems Department in Romania.
    [Show full text]
  • Delphi XE2 Feature Matrix
    Delphi® XE2 The fastest way to build native applications for Windows, Mac and iOS Feature Matrix Feature Architect Ultimate Enterprise Professional Starter INTEGRATED COMPILERS Enhanced in XE2! High-performance 32-bit optimizing Delphi® native code compiler 23.0 (dcc32), including High performance x86 Assembler – 32-bit inline assembler supporting the Intel® x86 instruction set (including Intel Pentium® Pro, Pentium III, X X X X X Pentium 4, Intel MMX™, SIMD, Streaming SIMD Extensions, SSE, SSE2, SSE3, SSE 4.1, SSE 4.2, AMD SSE4A and AMD® 3DNow!® New in XE2! Delphi 64-bit compiler X X X X New in XE2! Delphi OS X compiler X X X X Delphi command line compiler (dcc32.exe) X X X X Enhanced in XE2! Create 32-bit optimized Delphi native executables that can run X X X X X on both 32 and 64-bit Windows operating systems APPLICATION PLATFORMS, INTEGRATED FRAMEWORKS, DESIGNERS, SDKS AND INSTALLERS New in XE2! FireMonkey Platform for creating 32-bit Windows applications for X X X X X Windows 7, Windows Vista and XP; Server 2003 and 2008. New in XE2! FireMonkey Platform for creating 64-bit Windows applications for X X X X Windows 7, Windows Vista and XP; Server 2003 and 2008. New in XE2! FireMonkey Platform for creating OS X 10.6 and 10.7 applications X X X X New in XE2! FireMonkey Platform for creating applications for iOS 4.2 and higher X X X X New in XE2! VCL (Visual Component Library) for rapidly building 64-bit applications X X X X for Windows 7,Windows Vista and XP; Server 2003 and 2008.
    [Show full text]
  • RAD Studio XE6 Feature Matrix
    RAD Studio XE6 The complete app development suite for Windows, Mac, iOS and Android Personality: D = Delphi® C = C++Builder® Feature Matrix H = HTML5 Builder Feature Personality Architect Ultimate Enterprise Professional INTEGRATED COMPILERS AND TOOLCHAINS High-performance 32-bit optimizing Delphi® native code compiler D X X X X (dcc32), including high performance x86 Assembler Delphi 64-bit compiler D X X X X Delphi command line toolchains for Windows (dcc32, dcc64) D X X X X Delphi OS X compiler D X X X X Delphi command line toolchains for Mac OS X (dccosx) D X X X X Introduced in XE4! Delphi iOS ARM Compiler and Delphi iOS D X X X X Compiler for iOS Simulator Introduced in XE4! Delphi command line toolchains for iOS D X X X X (dccios32, dcciosarm) Enhanced in XE5! Embarcadero C++ Compiler for Win64 (bcc64) C X X X X Enhanced in XE5! Embarcadero C++ Compiler for Win32 (bcc32) C X X X X C++ command line toolchains for Windows C X X X X C++ OS X compiler (bccosx) C X X X X C++ command line toolchains for OS X C X X X X Introduced in XE5! C++Builder iOS ARM Compiler C X X X X Introduced in XE5! C++Builder command line toolchain for iOS C X X X X (bcciosarm) New in XE6! C++Builder Android ARM Compiler C X X X X New in XE6! C++Builder command line toolchain for Android C X X X X (bccaarm) APPLICATION PLATFORMS, INTEGRATED FRAMEWORKS, DESIGNERS AND SDKS FMX Application Platform for creating 32-bit Windows applications for Windows 8 and 8.1, Windows 7, and Windows Vista; Server C D X X X X 2008 and 2012.
    [Show full text]
  • Flextest Installation Guide
    FlexTest Installation Guide Audience: Administrators profi.com AG Page 1/18 Copyright 2011-2014 profi.com AG. All rights reserved. Certain names of program products and company names used in this document might be registered trademarks or trademarks owned by other entities. Microsoft and Windows are registered trademarks of Microsoft Corporation. DotNetBar is a registered trademark of DevComponents LLC. All other trademarks or registered trademarks are property of their respective owners. profi.com AG Stresemannplatz 3 01309 Dresden phone: +49 351 44 00 80 fax: +49 351 44 00 818 eMail: [email protected] Internet: www.proficom.de Corporate structure Supervisory board chairman: Dipl.-Kfm. Friedrich Geise CEO: Dipl.-Ing. Heiko Worm Jurisdiction: Dresden Corporate ID Number: HRB 23 438 Tax Number: DE 218776955 Page 2/18 Contents 1 Introduction ............................................................................................................................ 4 2 Delivery Content ..................................................................................................................... 5 2.1 FlexTest Microsoft .Net Assemblies .................................................................................. 5 2.2 FlexTest license file ........................................................................................................... 5 2.3 FlexTest registry file .......................................................................................................... 6 2.4 Help .................................................................................................................................
    [Show full text]
  • Preguntas + Frecuentes Sobre Embarcadero Radphp XE Danysoft | Representante Exclusivo En La Península Ibérica
    Preguntas + frecuentes sobre Embarcadero RadPHP XE Danysoft | Representante exclusivo en la península ibérica What is RadPHP XE? Embarcadero RadPHP XE revolutionizes PHP web development with a completely integrated, rapid visual development approach and component framework. RadPHP XE provides a powerful editor, debugger, visual development tools and connectivity with leading databases. The integrated reusable class library includes components for everything from UI design to building applications for Facebook. What are some of the key benefits of RadPHP XE? If you're wondering why you should consider RadPHP XE compared to another PHP editor, here are some of the key benefits. Faster development – using the drag‐and‐drop visual design capabilities of RadPHP, you can build PHP applications faster than ever before Easier to build data driven applications – RadPHP standardizes database connectivity and includes a collection of pre‐build database components that make it much simpler to build apps that connect to databases Reusability – there are millions of lines of open source PHP code available today, but how do you leverage that vast resource in your applications? RadPHP provides an easy framework for packaging any PHP or JavaScript source code into reusable visual and non‐visual components that can be visually assembled with other PHP components in the RadPHP IDE and easily programmed with familiar properties, methods, and events. Ability to create AJAX enabled web sites – AJAX is a popular method for building dynamic web 2.0 sites and RadPHP includes AJAX‐enabled components to help you on your way to building modern looking interactive web sites. Additionally, AJAX enablement is built into the core of the RadPHP component framework, so you can add AJAX capabilities to virtually any PHP code.
    [Show full text]
  • Borland® Developer Studio
    Borland® Developer Studio FREQUENTLY ASKED QUESTIONS GENERAL QUESTIONS What is Borland® Developer Studio? Borland® Developer Studio is the ultimate Windows development solution, combining the previously separate Delphi®, C++Builder®, and C#Builder® products, all in one integrated environment. Borland® Developer Studio is a significant upgrade for Delphi®, C++ and C# developers, with powerful new productivity and performance capabilities that enable software teams to eliminate tedious development tasks so they can quickly and cost- effectively deliver enterprise-class Windows applications. To make it easier for existing customers to find, we are selling the studio under the traditional Delphi®, C++Builder®, and C#Builder® brands for this release – no matter which of these you buy, you’ll get the same complete studio, the same capabilities, at the same price. What if I don’t need or want some of these languages? Customers who don’t need all the languages can choose to install only those they need for a more lightweight installation. In addition, even if customers install all of the supported languages, at runtime they can choose to either load all of the languages or only load a single language (through dedicated desktop icons or command line options) What are the key benefits of Borland® Developer Studio? Borland® Developer Studio supports both native Windows development (for C/C++ and Delphi®) and .NET development (for C# and Delphi®), within a single consistent RAD environment, simplifying maintenance and new development of Win32 applications, while also allowing developers to more easily adopt .NET technologies at their own pace. In addition, Borland® Developer Studio eases the transition of enterprise developers to the Microsoft .NET framework by providing enterprise application services, such as object-relational mapping, object persistence, and transaction support, which are commonly available in the J2EE world but not otherwise available on the .NET platform.
    [Show full text]
  • Type Extensions, Wirth 1988
    Type Extensions N. WIRTH lnstitut fijr Informatik, ETH, Zurich Software systems represent a hierarchy of modules. Client modules contain sets of procedures that extend the capabilities of imported modules. This concept of extension is here applied to data types. Extended types are related to their ancestor in terms of a hierarchy. Variables of an extended type are compatible with variables of the ancestor type. This scheme is expressed by three language constructs only: the declaration of extended record types, the type test, and the type guard. The facility of extended types, which closely resembles the class concept, is defined in rigorous and concise terms, and an efficient implementation is presented. Categories and Subject Descriptors: D.3.3 [Programming Languages]: Language Constructs-data types and structures; modules, packuges; D.3.4 [Programming Languages]: Processors-code generation General Terms: Languages Additional Key Words and Phrases: Extensible data type, Modula-2 1. INTRODUCTION Modern software development tools are designed for the construction of exten- sible systems. Extensibility is the cornerstone for system development, for it allows us to build new systems on the basis of existing ones and to avoid starting each new endeavor from scratch. In fact, programming is extending a given system. The traditional facility that mirrors this concept is the module-also called package-which is a collection of data definitions and procedures that can be linked to other modules by an appropriate linker or loader. Modern large systems consist, without exception, of entire hierarchies of such modules. This notion has been adopted successfully by modern programming languages, such as Mesa [4], Modula-2 [8], and Ada [5], with the crucial property that consistency of interfaces be verified upon compilation of the source text instead of by the linking process.
    [Show full text]
  • Differences Between Oberon and Oberon–2
    Oberon2.Differences.Text (20 Jul 93) 0 Differences between Oberon and Oberon–2 H. Mössenböck, N. Wirth Institut für Computersysteme, ETH Zürich Oberon–2 is a true extension of Oberon [1]. This paper summarizes the extensions and tries to shed some light on the motivations behind them. By that we hope to make it easier for the reader to classify Oberon–2. For details the reader is referred to the language report. One important goal for Oberon–2 was to make object–oriented programming easier without sacrificing the conceptual simplicity of Oberon. After three years of using Oberon and its experimental offspring Object Oberon [2] we merged our experiences into a single refined version of Oberon. The new features of Oberon–2 are type–bound procedures, read–only export of variables and record fields, open arrays as pointer base types, and a with statement with variants. The for statement is reintroduced after having been eliminated in the step from Modula–2 to Oberon. Oberon–2 is the result of many discussions among all members of the Institute for Computer Systems at ETH. It is particularly influenced by the ideas of Jürg Gutknecht and Josef Templ. Type–bound procedures Procedures can be bound to a record (or a pointer) type. They are equivalent to methods in object–oriented terminology. The binding is expressed by a separate parameter (the operand to which the procedure is applicable, or the "receiver" as it is called in object–oriented terminology). TYPE Figure = POINTER TO FigureDesc; FigureDesc = RECORD x, y, w, h: INTEGER END; PROCEDURE (f: Figure) Draw; BEGIN ..
    [Show full text]
  • Object Pascal Language Guide
    Object Pascal Language Guide Borland® Object Pascal Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 www.borland.com Borland Software Corporation 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, 2002 Borland Software Corporation. All rights reserved. All Borland brand and product names are trademarks or registered trademarks of Borland Software Corporation. Other brand and product names are trademarks or registered trademarks of their respective holders. Printed in the U.S.A. ALP0000WW21000 1E0R0102 0203040506-9 8 7654321 D3 Contents Chapter 1 Qualified identifiers . 4-2 Introduction 1-1 Reserved words . 4-3 Directives. 4-3 What’s in this manual? . 1-1 Numerals. 4-4 Using Object Pascal . 1-1 Labels . 4-4 Typographical conventions . 1-2 Character strings . 4-4 Other sources of information . 1-2 Comments and compiler directives. 4-5 Software registration and technical support . 1-3 Expressions . 4-5 Part I Operators. 4-6 Arithmetic operators . 4-6 Basic language description Boolean operators . 4-7 Logical (bitwise) operators . 4-8 Chapter 2 String operators . 4-9 Overview 2-1 Pointer operators. 4-9 Program organization . 2-1 Set operators . 4-10 Pascal source files . 2-1 Relational operators . 4-11 Other files used to build applications . 2-2 Class operators. 4-12 Compiler-generated files . 2-3 The @ operator . 4-12 Example programs. 2-3 Operator precedence rules . 4-12 A simple console application . 2-3 Function calls . 4-13 A more complicated example .
    [Show full text]