Dbase Plus 1 Table Designer Behavior
Total Page:16
File Type:pdf, Size:1020Kb
User’s Guide VERSION 7.5 release 2.5 for Windows® 95, 98, 2000 NT, ME and XP dataBased Intelligence, Inc. Vestal, NY http://www.dbase.com news://news.dbase.com dataBased Intelligence, Inc. or Borland International 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 © 2002 dataBased Intelligence, Inc. All rights reserved. All dBASE product names are trademarks or registered trademarks of dataBased Intelligence, Inc. All Borland product names are trademarks or registered trademarks of Borland International, Inc. Other brand and product names are trademarks or registered trademarks of their respective holders. Printed in the U.S.A. Contents Chapter 1 Source Editor behavior . .11 Introduction to dBASE Plus 1 Table Designer behavior . .11 Optimized ReportViewer . .11 Welcome to dBASE Plus !. 1 Overview of dBASE Plus version 2.50 . .11 What is dBASE Plus? . 1 Mouse events . .11 dBASE Newsgroups . 2 Grid Class . .11 The dBASE Plus Knowledgebase: . 2 Project Explorer . .12 Changes from earlier versions . 2 TreeView. .12 Visual dBase 5.x through Visual dBase 7.0 . 2 Array Class . .12 Report objects and the integrated Report designer . 3 Report . .12 Project Explorer . 3 Inspector . .12 Data objects. 3 _app Object . .12 Visual designers . 3 _app.frameWin . .12 ActiveX integration. 4 Procedure files . .13 The Inspector . 4 Report Designer . .13 Full-featured Source editor . 4 Error Handling. .13 SQL designer . 4 CHOOSEPRINTER( ) and choosePrinter( ) . .13 BDE Administrator and database support . 4 dBASE Plus documentation . .13 DBF7 file format features . 4 Typographical conventions . .13 Samples and sample viewer . 5 Documentation updates and additional information resources14 Changes since Visual dBASE 7.0 . 5 Software registration . .14 Form class properties . 6 Rowset class properties and methods. 6 Chapter 2 _app object properties . 6 app object property used to override Rowset SET SKIP Installing dBASE Plus and connecting behavior . 6 to an SQL database server 15 Date Functions . 6 What you need to run dBASE Plus . .15 New Preprocessor identifier . 6 HARDWARE . .15 A few words about Source Aliasing and Dynamic External OPERATING SYSTEM . .15 Objects . 6 NETWORKS . .15 DEO - Dynamic External Objects . 7 Products and programs in your dBASE Plus package . .16 Rowset class enhanced to support OODML version of SET Installing dBASE Plus . .16 SKIP behavior . 7 What happens during installation. .16 New _app object property used to override Rowset SET Un-installing dBASE Plus . .17 SKIP behavior . 7 How to connect to an SQL database server. .17 New error handling properties . 7 Install and configure the server software . .17 Starting dBASE Plus or application .exe without using the Configure the Borland Database Engine (BDE) . .18 BDE . 7 Listing SQL tables in the Navigator . .18 Startup optimizations for Web applications . 8 Change to command line for PLUSRun.exe . 8 Chapter 3 Overview of dBASE Plus version 2.0 . 9 Introduction to programming in dBL 19 dBASE Plus Server Side Web Components . 9 "Hard coding" vs. visual programming. .19 New Class. 9 Advantages of event-driven programs . .19 Changes to the Command Line for PLUSrun.exe . 9 How event-driven programs work . .20 Array class properties, events and methods . 9 Developing event-driven programs. .22 Form class properties, events and methods. 9 Grid class properties, events and methods . 9 Chapter 4 Overview of dBASE Plus version 2.20 . 10 Creating an application 23 New Project Explorer. 10 Creating an application (basic steps) . .23 New Class. 10 Project files (overview) . .24 Designer class properties, events and methods . 10 Creating a project file . .24 Existing property now included in the ComboBox and Adding files to a project. .25 Editor classes . 10 Notes on the Project Explorer . .25 Existing property now included in the Listbox class . 10 Building the user interface . .26 GETFILE( ), PUTFILE( ) functions, and getFile ( ) Form design guidelines . .26 method . 10 Goal of form design . .26 onNotify event . 10 Purpose of a form . .26 editorType property. 10 Some guidelines for data entry forms . .26 Grid behavior . 10 Designing the form layout . .27 Grid and Browse object behavior. 11 iii Guidelines for using the z-order . 27 Chapter 6 Creating a form . 28 Using the Form and Report Using the Form wizard . 28 Using the Form designer. 28 designers 49 .WFM file structure . 29 The designer windows . .49 Form class definition . 30 Design and Run modes . .50 How the contents are generated . 30 The Form Design Window . .50 Editing a .WFM file . 30 The Report Design window . .51 Editing the header and bootstrap . 31 The visual design is reflected in your code . .51 Editing properties in the .WFM file . 31 Component palette . .51 Types of form windows . 32 Standard page . .52 MDI and SDI applications . 32 Data Access page . .54 Modal and modeless windows . 32 Data Buttons page (forms) . .54 Customizing the MDI form window . 32 Report page . .55 Standard features of MDI windows: . 33 Custom page. .55 Using multi-page forms . 33 Using ActiveX (*.OCX) controls . .55 Global page (forms) . 33 The Field palette . .56 Navigation buttons (form pages) . 33 The Inspector . .56 Creating a custom form, report, or data module class . 34 Properties page of the Inspector. .57 Using a custom class. 35 Events page of the Inspector . .58 Creating custom components . 35 Methods page of the Inspector . .59 Creating custom components . 35 The Method menu . .59 Adding custom components to the Component palette . 36 Manipulating components . .59 Removing custom components from the Component palette 37 Placing components on a form or report . .60 Special case: container components. .60 Chapter 5 Selecting components . .60 Accessing and linking tables 38 Moving components. .61 Cutting, copying, pasting, deleting components . .61 The dBASE data model . 38 Undoing and redoing in the designers. .61 Query objects. 38 Aligning components . .61 SQL property . 39 Resizing components . .61 rowset property . 39 Spacing components . ..