1. Decide what to draw
Graphic parts usually have the ability to change their appearance, and the appearance of graphic control depends on the combination of some of its properties, such as gauge control's ability to determine its shape, direction,
14.8 Validation of input data
When a user inserts a new record into a database table or modifies an existing record, we must ensure that the data entered by the user is valid, and that Delphi is used in three different ways to verify that the data
14.5.1 use the Gotokey method to find data records
The specific steps for querying records in a database using the Gotokey method are as follows:
1. Make sure that the field you are looking for is a keyword or that you have defined a secondary
Since a user cannot change the value of a property in the public section at design time, the Class property cannot appear in the Object Inspector window.
⑷ defines design-time interfaces
A part of an object is declared as published, and that part
Objective
This article is in the "Easy VC interface" on the basis of writing, the first time to write articles, table righteousness unclear, please understand! If the book belongs to the story, start ...
The results of the program are as follows:
Example program final effect diagram:
has been looking for the production of a 24bit and above true Color tool bar simple and effective method, in various VC sites have found a lot about this article and introduction, but there is a shortage of
This example effect chart:
Code files:
Unit Unit1;InterfaceUsesWindows, Messages, sysutils, variants, Classes, Graphics, Controls, Forms,Dialogs, Stdctrls, Extctrls, Comctrls;TypeTForm1 = Class
6.4 File Management Comprehensive example: the implementation of the File Manager
At the end of this chapter, we developed a simple File manager using the file control and file management functions provided by Delphi. Although this file manager
Data-browsing widgets are used primarily to display and edit data in database tables, so they are often referred to as data control parts or data-aware parts, which are on the Datacontrols page of the part selection board, Figure 16.1 shows all the
Design idea of 6.3.2 filename browsing and searching system
As an application instance of the file control, we developed a simple file name browsing lookup system. This system can be used to display the file name, to write the selected file to the
The question is presented as follows:
I do a library management system, is implemented with a three-tier structure, client, server processing and data end. The client requests, the server-side response, and the results from the data server are sent
The grammar editor is a text editor that can be used to edit the grammar of the programming language, which is used to lighten the syntax keyword of the programming language, such as annotation line, string, grammar key word, numeral, etc., which
8.4.2 Create an OLE Automation server
An OLE Automation server is an application or dynamic-link library (DLL) that outputs OLE objects to an OLE Automation controller. MEMOEDITDPR is the OLE Automation server that registers the
8.3.4.2 using OLE objects on the Clipboard
To paste an OLE object into an OLE application, you must register two new clipboard formats with the RegisterClipboardFormat function of Windows for linked objects and embedded objects. These formats will
8.3.2.2 Initialize OLE package container parts
In order for the OLE package container part to contain OLE objects, the part must be initialized. Initialization is primarily an OLE class that defines a part. If you define an OLE file and an OLE
8.2 Design state OLE object creation
Dephi can create OLE objects in both the design state and the run state. This section describes the creation of design-state OLE objects.
8.2.1 Tolecontainer Parts
To create an OLE object, you add an OLE
9.2.2 Receive drag items
Whether a control can receive a dragged item is determined by the control's OnDragOver event. In Tabset drag, the main point is to use the location of the mouse to judge.
Procedure Tform1.tabset1dragover (Sender,
All applications are tapplication derived classes. Tapplication has three ways to invoke the online Help system.
The HelpContext method can invoke WinHelp (see the previous section for WinHelp content). It passes the filename in the HelpFile and a
12.4 Introduction to Program debugging
Delphi provides a powerful built-in debugger (integrated Debugger), so debugging a program can be done without leaving the integrated development environment (IDE).
Program errors can be divided into two
12.2.2 generates a resource protection block
Delphi provides a reserved word finally, which is used to achieve resource protection:
{Allocating Resources}
Try
{Resource Usage}
Finally
{Releasing Resources}
End
The Try...finally...end form a
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