090_delphi6 Control Utility Design 100 examples

Source: Internet
Author: User
Document directory
  • 100 examples of DELPHI6 Control Utility Design
100 examples of DELPHI6 Control Utility Design

DelphiTutorial Series of books(090)DELPHI6Control Utility Design100Example Organize netizens (state)Email:Shuaihj@163.com

:

Part1

Part2

Part3

  • Author: Duan Xing
  • Series name: database and Control Program Design Example Series
  • Press: People's post and telecommunications Press
  • ISBN: 7115106290
  • Mounting time: 2002-11-4
  • Published on: February 1, October 2002
  • Start: 16
  • Page number: 330
  • Version: 1-1

Introduction

This book selects 100 representative programming examples in terms of controls developed using Delphi 6. These instances can be divided into windows and interfaces, graphic processing, multimedia, networks, databases and reports, systems, files, and other controls according to the completed functions, it covers the main aspects of Delphi 6 control application development. Among them, Delphi 6 comes with control instances and third-party control instances each account for half. This book emphasizes both basic and improvement, including basic knowledge, such as dynamic menu settings, mouse splitting interface, and Tree View display, as well as analysis of some advanced applications, such as 3D animation programs, TTS voice engines, and thin customer programs. By reading this book, you can understand and master common usage methods and advanced application skills in Delphi 6 control application development. Practicality is the biggest characteristic of this book. Most of the examples in this book have powerful functions, novel effects, and strong practicability. They can help readers quickly master the most advanced control application development technology, in addition, some examples focus on helping readers understand the basic concepts, key points, and difficulties of Delphi 6 control application development. This book is suitable for readers who have mastered the BASIC Programming Technology of Delphi 6.

Preface

Delphi has been continuously improved by Borland, a large number of third-party resources have been added, and a large number of fans have supported it, delphi has become a popular object-oriented programming language with powerful functions and a large number of users.

Delphi control technology combines visual C ++, Visual Basic, Power Builder, and other Windows development languages with excellent ActiveX control technology, at the same time, combined with the elastic reusable and complete object-oriented programming language (object-oriented language), a complete control recording solution is formed. In addition, the former is more integrated with excellent design ideas such as Delphi's excellent modular structure, making it very easy to expand from desktop applications to multi-layer, web applications, XML, at the same time, it shows fascinating potential in cross-platform use, mobile phone text messages, voice engines, and GIS global positioning applications.

This book provides a detailed description of the attributes, events, and methods of the 100 important controls, as well as in-depth discussions on key issues, so that readers can grasp the use of the controls as soon as possible.

The book is divided into six parts.

The first window and interface, describes how to use xpmenu, gifform, splitter, fctreecombo and other interface controls to create Windows XP interface, animation window, dynamic separation interface, and display Tree View in the drop-down list box.

Article 2 graphic processing describes how to use graphic controls such as drawgrid, dbchart, stringgrid, and layer to design applications such as graphics grids, database charts, block grids, and hierarchical graphs.

The third multimedia section describes how to use multimedia controls such as mediaplay, glvisir, ttsenglish, and abceffectsimage to design multimedia playback programs, 3D animation programs, TTS voice engines, and image special effect collections.

The fourth article describes how to use network controls such as nmftp, socket, webupdate, and geowhois to upload and download files, create popular software such as network communication and data transmission, online upgrade, and website locator.

Article 5 databases and reports, describes how to use database controls such as tclientdataset, tbatchmove, tdbctrlgrid, and wnquery to provide efficient database solutions such as thin customer programs, batch data operations, extended data grids, and universal queries.

Article 6 systems, files, and other controls, describes how to use skinengine, tsearchfolders, simplepie, printpreview, tamdesktop and other systems and file controls to write applications such as XP skin replacement, file scanning and searching, pie chart progress bar, print preview, and desktop background animation Effects program.

Each instance has three steps:

Instance effect: describes the functions of this example, and points out the design purpose and effect of this example, so that readers can have an intuitive understanding of this example.

Program description-explains the technical principles and design ideas of this example, and provides the basic process of program design, so that readers can quickly understand the program code: At the same time, describes the relevant knowledge involved in this example, in addition to learning the application of this instance, you can also learn about related concepts, function calls, parameter configurations, and other related knowledge, which is helpful for you to grasp how to use controls.

Production steps-specific implementation processes are provided, including the establishment of the form interface, source code and comments. You can refer to programming.

The related CD of this book contains all the examples of this book, all of which have been carefully debugged and can be directly called by readers.

The compilation of this book embodies the hard work and selfless dedication of a group of programmers and university teachers. Among them, Zhang Jingyu, He Wenjie, teachers from Shandong University, such as Liang leiqing and Xiao renhua, have contributed and carefully revised many excellent original codes, translated some foreign codes, and debugged them one by one. Professor Duan Xin of Shandong Education Commission took time out of his busy schedule to review and debug the key chapters and codes in this book. It is their outstanding talent and good team spirit that make this book further develop in terms of quality. Thank you.

This book is planned by Qingdao delta digital technology development center and edited by Duan Xing.

Due to the limited level and the rush of time, this book will inevitably have shortcomings, and we hope that readers will criticize and correct it.

How to Use the CD in this book:

The related CD of this book contains the source code of the book's 100 instances and most of the corresponding third-party controls. The instance source code is located in the root directory of each instance on the CD, or in the "demos" folder under the root directory of each instance on the CD, the corresponding third-party control is located in the "sourse" folder or "components" folder under the root directory of the CD instance.

When you use the source code of a CD-ROM instance in this book, instances involving third-party controls need to be re-installed and registered. For some instances involving databases, you need to re-set the database alias for the folder where the database is located, for example, "mydatabase". In addition, some remote access instances need to set more parameters for normal operation. For specific database alias and other parameter settings of each instance, see the example program description and production steps.

The vast majority of the third-party free controls involved are contained in the corresponding instance folders on the CD. The third-party sharing and commercial controls involved are described in the "program description. All used database files are stored in the "Database" folder under the root directory of the disc. Please relocate the source code settings based on the local settings.

Editor

Bookwood@vip.sina.com

Directory

Article 1 window and interface 1

Instance 1 xpmenu-Windows XP page 3

Instance 2 gifform-animation image window 6

Instance 3 statusbar-status bar control 7

Instance 4 toolbar-Toolbar Control 10

Instance 5 splitter-dynamic divider control 13

Instance 6 pagecontrol-Page Control 14

Instance 7 ListBox-ListBox control 16

Instance 8 ezrgnbtn-polymorphism graph button 18

Instance 9 comboxx-multi-function combo 20

Instance 10 captionbutton-title bar button 23

Instance 11 cooltrayicon-Tray Icon 24

Instance 12 linkbutton-hyperlink button 26

Instance 13 edgeform-automatically hide Form 27

Instance 14 fcoutlookbar-Outlook toolbar effect 29

Instance 15 fctreecombo-display Tree View 33 in the drop-down list box

Instance 16 colorbox-color list box control 35

Instance 17 mainmenu-Main Menu Control 36

Instance 18 toolbar2000-tool bar 40

Instance 19 abcwelcometipsdialog-daily prompt dialog box 44

Instance 20 abcsplash-blinking Form 45

Instance 21 coolbar-floating toolbar window 47

Instance 22 ttabset control-tab page 51

Article 2 graphic processing 57

Instance 23 paintbox-drawing 59

Instance 24 drawgrid-graphic grid 64

Instance 25 chart control usage 67

Instance 26 colorgrid-palette 71

Instance 27 dbchart-database chart 75

Instance 28 shape-shape 79

Instance 29 stringgrid-graph block grid 82

Instance 30 Timer control usage 86

Instance 31 layer-Layered Image 89

Instance 32 amclock-graphic clock 92

Instance 33 screencapture-screenshot 95

Article 3 multimedia 99

Instance 34 mediaplay-multimedia playback 101

Instance 35 animate-play AVI file 105

Instance 36 GIF image-GIF animation creation and display 108

Instance 37 glvisir-3D animation 111

Instance 38 ttsenglish-TTS voice Engine 115

Instance 39 nkimageform-graphical form 118

Instance 40 iagaloled-halo led panel 120

Instance 41 fcimage-image effect 122

Instance 42 shockwaveflash-Play flash animation 124

Instance 43 abceffectsimage-image effect set 127

Instance 44 activemovie-Playback. mov file 129

Article 4 network 131

Instance 45 nmhttp-HTTP control 133

Instance 46 nmftp-file upload and download 135

Instance 47 nmudp-user Message Protocol 139

Instance 48 nmsmtp-send email 142 through SMTP

Instance 49 nmpop3-use the POP3 protocol to receive mail 144

Instance 50 webbrowser-browser 147

Instance 51 socket-network communication and data transmission 151

Instance 52 webnavigator-Web browser 156

Instance 53 webupdate-Online upgrade expert 157

Instance 54 webcopy-Network Copy 160

Instance 55 geowhois-Web Site Locator 164

Instance 56 idicmpclient-visualized ping tool 166

Instance 57 idmappedporttcp-port ing 168

Instance 58 nmdaytime-server Date and Time 170

Instance 59 nmecho-network message Response Control 173

Instance 60 idftp control 177

Instance 61 nmmsg-message sending controls 181

Instance 62 nmstrm-send network image 186

Article 5 databases and reports 191

Instance 63 tclientdataset-thin client controls 193

Instance 64 tupdatesql controls use 196

Instance 65 tbatchmove-batch data operation 199

Instance 66 tdbctrlgrid-Extended Data Grid 202

Instance 67 General report tool sreport 204

Instance 0.68 million can query the control wnquery 207

Instance 69 query control eslib 211

Instance 70 Report control fastreport 214

Use of instance 71 exporter control group 217

Instance 72 f1book-data table 219

Instance 73 dblookupcombobox and dblookuplistbox-cyclic filling list 222

Article 6 systems, files, and other controls 225

Instance 74 skinengine -- XP skin replacement 227

Instance 75 lsdirtree10 and lsfilelistview26-Resource Manager page 230

Instance 76 tsearchfolders-file scan 232

Instance 77 screensaver-Screen Protection 236

Instance 78 tsysteminfo-obtain system information 240

Instance 79 tlightspeed-Beautiful fireworks 243

Instance 80 trend-motion bar chart, line chart, block chart 247

Instance 81 twinlist-monitor running programs 252

Instance 82 lcdnumber-LCD Panel 257

Example 83 tmarquee-simulated electronic ad dashboard 261

Create a notebook 264 for instance 84

Instance 85 actionlist-list of common application functions 268

Instance 86 printpreview-print preview 270

Example 87 Image Making browser 273

Instance 88 graphic printing 277

Instance 89 olecontainer -- OLE container 280

Instance 90 xpform -- XP form 284

Instance 91 coolitem-menu 288 in the prompt bar

Instance 92 dsnregister-runtime ide design environment 290

Instance 93 gradprogress-progress bar 293 for gradient Filling

Instance 94 simplepie-progress bar 295

Instance 95 pbopenpreviewdialog/pbsavepreviewdialog-with the preview text and image Function

Dialog 297

Example 96 controls associated with Word documents 300

Control 306 associated with the PowerPoint presentation of instance 97

Instance 98 textbrowser-text browser control 312

Instance 99 tamdesktop-desktop background animation 317

Instance 100 dblookuptreeview-display the database Tree View 320 in the drop-down list box

Appendix Delphi third-party controls design and installation method 323

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.