Tutorials to .com

Tutorials to .com » Software » Delphi » Delphi Tutorial

Delphi Tutorial Articles


661: The use of command-line parameters
Delphi provides a visit to the command line parameters to facilitate the way, that is, the use of ParamStr and ParamCount function. Which ParamStr (0) to return to the current procedures, such as C: \ TEST \ MYPROG.EXE, ParamStr (1) to return to the...

662: At compile time to obtain prompt
In Delphi2.0, the compiler, the compiler can tell you some tips, such as which variable declaration, but has never been used. We know that through the options menu to control whether or not to Delphi to do so, but if as a result of a number of speci...

663: Generated run-time control
I, run-time generation of visual control: TEdit controls in the following example 1. In the Form of the Public in the definition of TEdit control Edit1: TEdit; 2. In the need to place generated by adding the following code: Edit1: = TEdit.Create ...

664: Arbitrary Print
Sometimes we have to print one copy of any order or to have printed the registration form on the data written on pigeon-holing, you can create a new form (assuming for the Form1), then Form1 Set BorderStyle of bsNone, AutoScroll set to True, the nex...

665: Branch tips
No matter what time you want to show that when the branches, only the middle of the string by adding "# 13" on the can, but can not attribute such a dry box, the following clarification on the number of controls: begin Label1.caption: = ...

666: Return to program execution parameters
The introduction of the Delphi command-line application parameters, please refer to the following description: ParamCount function used to obtain the number of command parameters: Call ParamStr (0), returns the file name of the executable file (in...

667: How to distinguish between three kinds of different events FormActive
FormActive in the following three kinds of circumstances, have been triggered: 1, Create the first time after the Show; 2, Close not Free, the first time re-Show; 3, the original has been Show, by the procedure to switch back to the other window....

668: The right to close an MDI child window
Delphi in the MDI child window to close the default way to narrow rather than shut down, so when you click the upper right corner of sub-window when the Close button will find the child window is minimized, rather than as your expectations be closed...

669: Implementation of written procedures for small
Languages like C, Delphi can be used to write only a few dozen K, more than K, or even only a few K of small procedures, this article will be a Win95 desktop can only hide a small program as an example 38K readers that the Church a skill, at the sam...

670: Replacement of the designated string function
A replacement of the designated function strings from a string to find the specified substring, and replaced with another substring. function replacing (S, source, target: string): string; var site, StrLen: integer; begin (source appear in the l...

671: Dynamic arrays
Methods: var A: array of Integer; begin ShowMessage (IntToStr (High (A))); / / <- value of 1 SetLenght (A, 3); ShowMessage (IntToStr (High (A))); / / <- value is 3 end; Note: This is the function of additional DELPHI4.0. ...

672: Dynamically generated components and the corresponding events
Methods: var MyBu: TBUTTON; begin MyBu: = TBUTTON.Create (Form1); MyBu.Parent: = Form1; MyBu.Left: = 10; MyBu.Top: = 10; MyBu.OnClick: = MyOnClick; MyBu.Show; end; Note: MyOnClick process in response to the incident. Another: I, run-tim...

673: Drag Delphi Programming
Drag and drop (DragDrop) is provided by a Windows shortcut operation. Windows-based development tool, Delphi also support drag and drop, and the development and application of the system is very convenient drag-and-drop functionality, and truly refl...

674: Application of Delphi applications (a)
11.1 Help document the establishment of Help file is more than Micosoft Windows3.0 hypertext version of help files. The use of such hypertext, the user can easily use the help file system. Help file on the main line for the preparation of the theme...

675: Application of Delphi applications (b)
All applications are TApplication of the derived class. There are three ways to call TApplication online help system. HelpContext ways to call WinHelp (on the contents of Winhelp see below). HelpFile it in a text file name and the code passed to th...

676: Program debugging and exception handling (a)
Application development in how to test the operation of the error process is a very important issue. In the Delphi integrated development environment (IDE) to provide a complete built-in debugger can help you find the majority of bugs. But not all e...

677: Exception handling and debugging (b)
12.3 abnormal response Abnormal response to provide for the development of an in accordance with their own need for exception handling mechanism. try ... except ... end the formation of abnormal response to the protection of a block. And finally it...

678: Exception handling and debugging (c)
12.4.3 the use of breakpoint 12.4.3.1 Setting a breakpoint First of all, set a breakpoint in the Code Editor in the selection of the breakpoint you want to set up lines of code, and then to carry out any of the following steps: ● Click the left...

679: Delphi database application development process outlined in (a)
13.1 Database System Database system provides us with a work and life of our information is closely related to the methods together, it also provides a centralized place to store and maintain these information. Database system has three major compo...

680: Delphi database application development process outlined in (b)
13.3.2 Data Control Components Data control unit page parts, mainly for the design of user interface, the data in the database to view, edit, insert, delete and other operations. Data Control components and thus are often also known as the Data Vie...


Page 34 of 38
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]   [10]   [11]   [12]   [13]   [14]   [15]   [16]   [17]   [18]   [19]   [20]   [21]   [22]   [23]   [24]   [25]   [26]   [27]   [28]   [29]   [30]   [31]   [32]   [33]   [34]   [35]   [36]   [37]   [38]