CodeGear (from Borland) company released the latest Delphi 2007 for Win32 version. As a user of Delphi, the first time to download, install and experience, now some of the use of feelings recorded as follows:
Note: The following comparisons are primarily directed at Delphi7 and Delphi2007, and some of the features listed below may already exist in delphi8/2005/2006.
1, download
You can download the trial
collection of information that is shared between different instances of the same window or control in Windows. When you create a new control using the traditional Windows programming method, you define a new window class and register it in Windows. You can also create a new window class based on an existing window class. This is called inheriting from the window class. In traditional Windows programming, if you want to build a customized control, you have to do it in a dynamic-link library, lik
all standard events in Delphi begin with "on". This is only for convenience, the compiler does not enforce it. Object Inspector is to look at the attribute type to determine whether the property is an event, and all method pointer properties are treated as events and appear in the event page.
⑷ Invoke Event
Generally, it is best to focus the call on the event. This means that a virtual method is created in the part to invoke the user's event-handli
1 only has one DCU file component. The DCU file is a compiled unit file. The author does not want to publish the source code. In general, the author must explain which version of this component is suitable for Delphi. if the version is incorrect, an error will occur during installation. It is because there is no source code that makes it inconvenient for users. That is, once the Delphi version is upgraded,
// Replace the common string var REG: tperlregex; begin REG: = tperlregex. Create (NiL); Reg. Subject: = 'I love Delphi, But Delphi doesn't love me! '; Reg. regEx: = 'delphi '; Reg. replacement: = '◆ '; Reg. replaceall; showmessage (Reg. subject); // return: I love Delphi, but ◆ don't love me! Freeandnil (REG); end;
19.2.2.4 Registered Parts
Writing parts and their properties, methods, and events is only part of the part creation process. While parts are available with these features, the real power of parts is the ability to manipulate them at design time.
The following steps are required to make a part available at design time:
Register Parts with Delphi
Increase Selection Board bitmap
Provides help on properties and events
Storage and Read properties
1.
http://bbs.guanjia.qq.com/forum.php?mod=forumdisplayfid=63; The computer housekeeper mistakenly reports, submits the address.Own company website http://www.kaideruixin.icoc.cc/Notebook Drive website http://www.dell800.com/thread-57450-1-1.htmlTechnology can be one of 1 million of the bosses making a lot of money.Have ideal + like-minded people + learn from each other to work together = Perfect teamFirst-class project + three-stream performer = Garbage ProjectThree-stream projects + First-class p
Delphi is a basically I forget the tool, if not in the use of Rapidsql, I was not received Embarcadero issued by the invitation to participate in the Delphi XE5 Conference.
Some people may ask why is Embarcadero (the name is very clumsy) instead of Borland Open Delphi Conference, this is because Borland that years can not survive, the IDE tool packaging set up Co
Interest is the best teacher
First step to familiarize yourself with the syntax and programming structure of Delphi, and then familiarize yourself with the properties and methods commonly used in controls and classes, and the third is
To study other people's example programs, the most important thing is to do a few complete small programs than follow the example. The following book is helpful to novice beginners: "Getting Started with
.
20.3 Delphi Object Type data Management application example
Delphi 2.0 whether its visual design tools, or Visual Component Class Library (VCL), are everywhere infiltration of object storage technology, this section will be from the Delphi visual design internal mechanism, VCL data storage, BLOB data manipulation and the storage of dynamically generated parts
First, the Displayhint method is declared in the TForm1 object, and the implementation code is written in the implementation section of the unit. In the Displayhint method, assign the application's Hint property to the panel's caption. Another important issue is the need to use the Displayhint method as a method of dealing with Onhint events. The code for the OnCreate event of the form solves this problem.
The complete code for the program is listed below. When a user runs a program and puts th
2.1.2.3 Constants
Constants are given a value at the time of the description and are immutable during program execution. The following example illustrates three constants:
Const
Pi = 3.14159;
Answer = 342;
ProductName = "Delphi";
Like variables, constants also have types. The difference is that a constant assumes that its type is the type of the value it represents in the constant description. The types of the three constants above are real, sha
CodeGear is about to release Delphi for PHP for fast web development. Delphi for PHP provides a visual rapid development environment and components. Component refers to open source VCL for PHP, including Qooxdoo, Adodb, Dynapi, Smarty, Xajax and Jscalendar, and supports third-party component development. It is expected to go public in March, $249 in North America, and offer discounted prices for teaching an
Static call of DLL top in Delphi
Calling a DLL is easier than writing a DLL. First, we will introduce static call methods. Later we will introduce dynamic call methods and compare them. Let's take a static call example first.
Unit Unit1;
Interface
UsesWindows, Messages, SysUtils, Classes, Graphics,Controls, Forms, Dialogs, StdCtrls;
TypeTForm1 = class (TForm)Edit1: TEdit;Button1: TButton;Procedure Button1Click (Sender: TObject );Private{Private decla
The ancients said: "to do good deeds, you must first sharpen your tools ."
I think anyone who uses Delphi should have a deep understanding of this sentence. Indeed, if Delphi does not support the control, the popularity will be greatly reduced, and there will be no such fan, so I will use BCB or VC again.
But now the control is full of sky and don't say it's a DSP (Del
Database Characteristics of 13.2.1 Delphi
Like other applications, Delphi provides a number of parts to facilitate the creation of database applications. The data members of a database object can be set at design time or by program code at run time. Delphi's widget board provides the parts to be used in the development of two-page database applications:
A part on a data access page that accesses a databas
Basic installation1. For a single control, Componet --> install component... --> PAS or DCU file --> install;
2. For control packages with *. dpk files, choose File --> Open (select *. dpk from the drop-down list box) --> install;
3. For control Packages with *. bpl files, Install Packages --> Add --> bpl file name;
4. If the above Install button is invalid, try the Compile button;
5. run time lib is used together with runtimepackes under packages under option. If the file cannot be found during
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.