089 _ examples of effective programming in DELPHI6

Source: Internet
Author: User
Document directory
  • DELPHI6 practical programming example
DELPHI6 practical programming example

DelphiTutorial Series of books(089)DELPHI6Effective programming examples Organize netizens (state)Email:Shuaihj@163.com

:

Part1

Part2

Part3

  • Author: Shishi technology Shi Xingang
  • Series name: examples of effective programming
  • Press: People's post and telecommunications Press
  • ISBN: 711521331x
  • Mounting time:
  • Published on: February 1, August 2002
  • Page number: 348
  • Version: 1-1

Introduction

This book explains how to use Delphi to develop applications through 130 featured examples, the content covers the interface appearance, multimedia control and image processing, time control, operating system, program control, disk file, database, network and communication, mouse and keyboard, mathematical algorithms and program release.. This book highlights practicality. more than 85% of examples mimic the functions of common excellent software. Other examples are designed to help readers understand important and difficult concepts, the examples in each chapter focus on how to use delphi components and API functions to implement specific functions. Another feature of this book is that it provides a very practical "solution example", not just a "function instance". Its content is mostly a typical or common solution for functional modules, including the interface design, operation process, and code control. This book is applicable to readers who have mastered the concepts and methods of Delphi programming, and helps them quickly master various experiences and skills in practical application.

Preface

Examples of this book are classified by functions, including interface design, multimedia control, and image processing. Time Control, operating system, program control. Disk Files, databases, networks and communications, mouse and keyboard, mathematical algorithms and program Publishing, etc., so that readers can understand all aspects of computer applications. For database programming, accurately understanding the syntax concept of the programming language does not mean that you can write powerful applications. To improve the programming level, you must rely on the accumulation of experience in practical applications. This book explains in detail how to use the powerful functions of Delphi and API functions to develop applications through 130 novel and distinctive application examples. Each instance has three steps:

Instance purpose-describes the functions of this example, and points out the purpose and effect of this example, so that readers can be aware of it.

Implementation Method: Explains technical principles/design ideas, provides reasonable explanations of technical principles, standard algorithms, and process descriptions, so that readers can read the code and learn program design methods.

Program code-provides specific implementation processes, including interface design, code writing, and comments. You can refer to the implementation.

This book highlights practicality. more than 85% of examples mimic the functions of common excellent software. Other examples are designed to help readers understand important and difficult concepts, the examples in each chapter focus on how to use delphi components and API functions to implement specific functions. Another feature of this book is that it provides a lot of practical "solution Examples", which are mostly typical or general functional module solutions, including interface design, operation process and code control.

This book is mainly written by Shi xintv and Zhang reinforcement. In addition, Liu bingyu, Yang Ke Lan, Wang Dong, Yang Yu, Zhao Wutong, Cheng fan, Cheng Weifeng, Fan guishan, Zhao Weiwei, Song Zheng, Wu frequency, Yan qingzi, Wenhua, Yuan Yu yue Jin, Zhong Ming, Huang chengkun, Wang Yuan, Wu Xiaochao, Xiao Yongshun, Qian lifeng, Ma xiaolai_li song, Wang Qinfang, Wang guohong, and others also participated in the data collection and writing work of this book.. I would like to express my gratitude for the hard work and painstaking efforts made by the above personnel for the successful completion of this book.

Due to time and level constraints, shortcomings and shortcomings are inevitable. Please criticize and correct me.

Editor

Directory

Chapter 4 interface appearance

Instance 1 displays skewed text

Instance 2 text color gradient

Instance 3 transparent image

Instance 4 color gradient progress bar

Instance 5 transparent form

Instance 6 polygon form

Instance 7 variable background rich

Chapter 4 interface operations

Instance 8 palette Program

Instance 9 color drop-down box

Instance 10 form background color progressive Effect

Instance 11 dynamic Village Phone box

Instance 12 form Segmentation

Instance 13 scaling Control

Instance 14 Animation button

Instance 15 dynamically reduced graphics

Instance 16 enlarged image

Instance 17

Instance 18 capture screen

Instance 19 Resource Manager

Instance 20: Smart searching for content in the list box

Instance 21 text editor with dynamic prompts

Instance 22 modify the cursor and program icon

Instance 23 continuous response mouse click

Instance 24 always stays at the top of the form

Instance 25

Instance 26 title bar button

Select objects from the drop-and-drop list box of instance 27

Instance 28 create a multi-document form

Chapter 2 Multimedia Control

Instance 29: Check whether the sound card exists

Instance 30 video player

Instance 31cd player

Instance 32 transformed Image

Programming with 33opengl

Instance 34realplayer audio player

Chapter 1 time control

Instance 35 appears one by one, imitating typing

Instance 36 simple animation implementation

Example 37 embedded electronic clock

Instance 38 obtains and controls time information in calendar form

Instance control in 39 milliseconds

Instance 40 read/write system time

Instance 41 synchronization network time (obtained from the time server)

Instance 42 multi-task execution through multiple timer controls

Chapter 4 Operating Systems

Instance 43 modify computer name

Compile screen saver for instance 44

Instance 45: configure the ground paper and Screen Saver

Instance 46 Dynamic screen resolution Adjustment

Instance 47 obtain system hardware information

Edit registry information for instance 48

Instance 49 lock the computer

Enable or disable a computer under instance 50

Instance 51 obtains the Windows version number and Running Mode

Instance 52 enumeration available fonts

Instance 53 get printer information

Instance 54 in exchange for printer queue status information

Instance 55 text and Image Printing

Instance 56 gets the print margin

Instance 57 is printed directly using API

Instance 58 changes the default printer

Chapter 4 program control

Instance 59 System Tray Program

Instance 60 hide the taskbar

Instance 61 on-screen protection switch window

Instance 62 enumeration system running programs

Instance 63 view ie explorer is running in Ancient Times

Instance 64 calls windows program

Instance 65 prohibit multiple instances from running the same program

Instance 66 modify system menu

Instance 67 disable buttons in the upper-right corner of the form

Instance 68 multi-threaded applications

Example 69 copy an image using a clipboard

Instance 70 uses memory ing for data exchange

Instance 71 gets pull information

Chapter 4 Disk Files

Instance 72 get the serial number of the Operating System

Instance 73 get drive capacity

Instance 74 View Drive Type

Instance 75 recursively traverse the disk directory

Instance 76 get file attributes

Instance 77 delete files to the recycle bin

Instance 78 clear Recycle Bin

Content in instance 79 startup Control Panel

Create and delete folders for instance 80

Read and Write INI files from instance 8l

Instance 82 pop-up and disable the optical drive

Instance 83 change the file extension

Chapter 2 database

Instance 84 displays and inputs the date fields in the database

Instance 85 access Image Fields

Instance 86 enumeration Access database self-built table

Use wildcards in instance 87sql statements

Example 88delphi dataset filtering skills

Instance 89 accessing Word documents in the database

Instance 90 adds, removes, and modifies data sources in the program through the Registry

Instance 91sql statement nesting

Instance 92 dynamically create database objects

Instance 93 code control connection ODBC

Instance 94 quick connection to sqlserver

Quick report and report preview for instance 95

Instance 96 dynamically changes the color of the DBGrid component

Instance 97 lowercase amount converted to Chinese uppercase

Chapter 2 network and communication

Instance 98

Instance 99 obtains the Host Name and IP address

Instance 100 determines whether the website exists

Instance 101 monitors computers in the LAN

Instance 102ping Test

Instance 103 sets Proxy Server

Instance 104 custom web browser

Instance 105 modify the homepage and title of IE

Instance 106 receive and send email

Instance upload FTP upload/download

Instance 108 network chat -- Winsock-TCP

Instance 109 broadcast information -- Winsock-udp

Instance 110 telephone line for Remote Communication

Instance 111 serial port to collect peripheral data

Instance 112 uses APIs for daily communication

Instance 113 testing network speed

Chapter 2 mathematical algorithms

Instance 114 hexadecimal conversion

Instance 115 random number selection

Smooth fitting of instance 116 multi-point curves

Instance 117

Chapter 4 mouse and keyboard

Instance 118 code control cursor

Instance 119 simulates the mouse's single and double ends

Instance 120 analog keyboard input

Instance 121 limited mouse Area

Instance 122 intercepts mouse Removal

Instance 123 intercepts keyboard Information

Instance 124 determines whether the printscreen key is pressed

Hide the mouse when the instance is 125

Instance 126 move the mouse to the window without a title bar

Chapter 4 program release

Program serial number generated by instance 127

Add a shortcut icon to the IE Toolbar for instance 128

Instance 129 sets the program to automatically executed

Instance 130 limits the application time limit

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.