Delphi-delphi common types and definition units
Type
Unit
Date
Sysutils
DeleteFile
Sysutils or Windows (different versions)
Dispatchinvokeerror
Comobj
DWORD
Windows
Edatabaseerror
Db
Encodedatetime
Dateutils
_stream
Adodb_tlb
Aktop, Akleft, Akr
Python for Delphi builds a bridge between Delphi and the powerful scripting language python, which is very convenient to use. It enables Delphi's gorgeous interface to work with Python's powerful, concise, and stable background logic processing capabilities, it makes the application module clear, the interface is beautiful, and the complex logic in the background is no longer complicated, greatly improving
There are several versions in the middle of Delphi 7 and Xe, which are not very popular. First, Delphi is somewhat marginalized, and second, 7 is almost perfect in the XP environment. There are fewer and fewer books on delphi on the market, and it is useless to provide information from 7 to Xe. Here I will try to list the differences and precautions between 7 and
First, downloadOfficial Download URL:http://www.axolot.com/components/download.htmFrom here it can be downloaded to all supported versions from DELPHI5 to Delphixe.Second, software InstallationThe downloaded file is exe format, can be installed directly, all the way next.By default, the installation will be:C:\Documents and Settings\All Users\documents\rad studio\8.0 Path generates XLSRWII4_D2011.BPL, which is required for installation. C:\Program FILES\XLSSUIT4 path generates package files, sam
One and a few ducks.1. Start with a barking interface.12{"Headfirst design mode" Delphi Code pattern Summary}3{a Barking interface}4{compiler tool: Delphi2010 for Win32}5{e-mail: [Email protected]}67unit uquackable;89interface1011typeIquackable = Interface (iinterface)Procedure Quack;The end;1516implementation1718end.+2, a few ducks realize the call interface.12{"Headfirst design mode" Delphi Code pattern S
Chr converts an ordered data to an ANSI character.Ord converts an ordered type value to its serial number.Round converts a real value to the integer value after rounding.Trunc converts a real value to the integer value after decimal truncation.Int returns the integer part of the floating point.IntToStr converts a value to a stringIntToHex converts a value to a hexadecimal stringStrToInt converts a string to an integer. If the string is not a valid integer, an exception is thrown.StrToIntDef conv
Originally from: http://my.oschina.net/pc100/blog/380016The procedure starts with the reserved word procedure, has no return value, and the function starts with the reserved word function and has a return value.Parameters are enclosed in parentheses, and multiple parameters are separated by semicolons, for example:Procedure SetDate (Year:integer; Month:integer; Day:integer);You can also group parameters of the same type together, and the above procedure title is written as:Procedure SetDate (yea
Today, I tried it .. something about delphi .. because you do not like to install and kill software .. because I still like high system efficiency... there is only 360 on the computer. usually look at your own port .. generally, it's okay.
Today, when I compiled the software and went to the Virtual Machine for testing, how was it a virus? I saw the prompt of Kingsoft, and Delphi's nightmare was depressing (I often walked by the river and wet my shoes
There are several versions in the middle of Delphi 7 and Xe, which are not very popular. First, Delphi is somewhat marginalized, and second, 7 is almost perfect in the XP environment. There are fewer and fewer books on delphi on the market, and it is useless to provide information from 7 to Xe. Here I will try to list the differences and precautions between 7 and
I have known a value assignment instruction (mov) of an Assembly and an addition instruction (ADD), so I can give an example.
For example: Add ax, BX; this is equivalent to ax: = AX + bx in Delphi;
In addition, a list is provided in advance-Delphi can use assembler to manage the following registers:32-bit register: eax EBX ECx edX ESP EBP ESI EDI16-bit register: ax bx cx dx sp bp Si Di8-bit register:
Delphi
In
ODBC
And
ADOBoth ADO and ODBC are used to access the database. They are encapsulation of the underlying data driver and can be used to access the database during programming. In Delphi, BDE and ADO components are also provided. In the early stage of the project, the database used access and sqlserver, and ADO was used without consideration. MySQL was used in later projects, without the ADO dri
Using Delphi to make statistical charts
Using the Dbchart control under Data controls (name set to DBCHT1), double click on Add to the type you want
First query in Delphi, then add
Dbcht1. Series[0]. xlabelssource:= ' field name ';
Dbcht1. Series[0]. yvalues.valuesource:= ' field name ';
Dbcht1. Series[0]. Datasource:=qry_1;
Dbcht1. Title.Text.SetText (' Name of the chart ');
The data can be disp
The 16th chapter of Delphi Database Program design----using BDE componentsDelphi accesses the database in the following ways: ADO, BDE, dbexpress, InterBase Express.One, Tdataset componentsAlthough Delphi has several ways to access the database, they must rely on tdataset. It is used to display all records obtained from a single or multiple data tables in a database.1. Tdataset Common PropertiesActive: Spec
In Android, the intent message can be obtained by implementing the Broadcastreceiver interface with Java. However, Delphi program can not directly implement Jbroadcastreceiver, how can realize similar Java broadcastreceiver function?Fortunately, Delphi provides the Tjfmxbroadcastreceiver class with the broadcastreceiver, and we can do it for this purpose.The following program fragment provides an example of
Basic Features of Delphi: language, Runtime Library (RTL), Core class library
Language features:
Delphi is a language and a development tool. It is an object-oriented extension of the classical PASCAL Language.
Contents
* Class and Object
In Delphi, each component that is visible in the form is a class type object, which can be obtained in the system library. T
1. Download
Official download URL:
Http://www.axolot.com/components/download.htm
You can download all supported versions from Delphi5 to DelphiXE.
Ii. Software Installation
The downloaded file is in the exe format and can be directly installed. You can download the file one by one.
By default:
C: \ Documents ents and Settings \ All Users \ Documents ents \ RAD Studio \ 8.0 path to generate XLSRWII4_D2011.bpl, which must be used for installation.
C: \ Program Files \ XLSSuit4 path to generate Pac
License: GPL/LGPL
Lazarus is a Free Pascal class library similar to Delphi. free Pascal is a compiler that runs in Linux, Win32, OS/K, and more systems under the (L) GPL 'convention. free Pascal is designed to be compatible with the Delphi syntax, that is, OOP.
Lazarus will make it easier for you to design programs on all platforms like Delphi. IDE will eventuall
Delphi ListView Basic Usage DaquanThe source of this article: Http://hi.baidu.com/python120/item/4ea85f61af94e55b6895e6acAdd Item or column (field)Listview1.clear;ListView1.Columns.Clear;LISTVIEW1.COLUMNS.ADD;LISTVIEW1.COLUMNS.ADD;LISTVIEW1.COLUMNS.ADD;Listview1.columns.items[0]. caption:= ' id ';LISTVIEW1.COLUMNS.ITEMS[1]. caption:= ' type ';LISTVIEW1.COLUMNS.ITEMS[2]. caption:= ' title ';LISTVIEW1.COLUMNS.ITEMS[2]. width:=300;Listview1.viewstyle:=vs
The source code is written in C + + Builder.Download: Http://files.cnblogs.com/AnyDelphi/Midas_Source.rarhttp://www.cnblogs.com/AnyDelphi/archive/2009/08/13/1545175.html#2264357The previous version of the Midas.dll Delphi 2007 compiled program if the Midas.dll with Delphi 2010 will be wrong.This edition will not be.Http://www.cnblogs.com/AnyDelphi/archive/2009/06/15/1503362.htmlDelphi 2010 in the public Mid
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.