Tutorials to .com

Tutorials to .com » Software » Delphi » Delphi Tutorial

Delphi Tutorial Articles


21: XPMenu two amendments Bug
Dephi famous XPMenu is a third-party interface controls, was found recently in the use of a number of Bug, one of the two amendments. 1, first of all, is the preparation of menus and toolbars icon, part of the image as a transparent white color, re...

22: Using the Sort property of DBGrid control to achieve, "click the title bar automatically sort function."
The use of many of my friends in the DBGrid control, the complaining did not click on the title bar of the function can be automatically sorted, in fact, through the data sets ADOQuery or other components of the Sort property of the DBGrid with OnTi...

23: Multi-input point ShadowStar CodeFast automatic code templates
Multi-input point ShadowStar CodeFast automatic code templates I. Introduction Borland Code Template Editor in accordance with call Ctrl + J, and only one input to the next position to enter the code would also like to move the cursor, sometimes I...

24: Access to find similar functions in memory
procedure TComLocateFrm.LocateBtnClick (Sender: TObject); var setLoOptions: TLocateOptions; i: integer; slKeys: TStrings; begin if ComboBox1.Items.IndexOf (ComboBox1.Text) <0 then try slKeys: = TStringList.Create; slKeys.AddStrings (Comb...

25: reading and writing windows NT/2000 physical, logical disk sector
procedure TForm1.Button1Click (Sender: TObject); var hDriveHandle: THandle; procedure TForm1.Button1Click (Sender: TObject); const BytesPerSector = 512; SectorCount = 1; / / read and write the number of sectors SectorStart = 0; / / Start sect...

26: delphi to write your first dll files, very simple!
First, you open the first DLL project 1.File-> Close all-> File-> New ﹝ DLL ﹞ Code: / / Code automatically generated as follows library Project2; / / This is nonsense paragraph. uses SysUtils, Classes; ($ R *. RES) begin end....

27: delphi prepared com your first program
DELPHI menu: File \ New \ Other ... Determined in accordance with [ok] button to click on File \ Save menu Save: Enter the project name MyCOM Press the Save button Re-open the menu File \ New \ Other ... Press [OK) button; CoClassName enter i...

28: Access using ado in a binary file access methods
In access in the construction of a Remarks field, known as binary. Primary key id. There is a picture of timage has been loaded. memstream for tmemorystream; p for byte Deposit: self.Image1.Picture.Bitmap.SaveToStream (memstream); memstream.see...

29: delphi word help
1. If you want your program to properly deal with unusual circumstances, please quote SysUtils.pas unit, otherwise, even if the procedures used try. . . except. . . Catch can not be correct. 2. The definition of constant string in a way resourcest...

30: How to make the process automatic registration in the run-time ActiveX Controls
Delphi application preparation process, we often encounter a number of ActiveX controls [Note: the extension DLL or OCX controls the type of database], which for the application process of the development of a simple way to operate. However, these p...

31: DELPHI in DBGrid Bank to achieve the positioning and coloring
DELPHI in DBGrid Bank to achieve the positioning and coloring 1 problem In a database system to operate when unable to find the data in the DBGrid control positioning and orientation to a certain line on the current line can not be obvious signs (...

32: Delphi analysis of the two BUG and repair
Delphi analysis of the two BUG and repair Using Delphi 7 for three-database development, encountered two small problems, through trial and error, we have finally found in Delphi 7 and two small BUG repair (such as Delphi 6 also have the same BUG), ...

33: Delphi command-line compiler
defproj.cfg__ Default configuration which compiled by all Projects defproj.dof__Default configuration of all projects. Delphi command-line compiler The command-line compiler lets you invoke all the functions of the IDE compiler from the command l...

34: Delpih the Windows API programming in the initial
RAD type of tool used more and more people, although I have RAD tools for the evaluation has been limited, but I often use. So, I know deep While such tools to facilitate us so that we can not put more focus on the interface, but at the same time wi...

35: How to determine whether a machine to start the MSSQL
/ / Determine whether or not a machine to start the MSSQL, SQL DMO can be adopted, but are not equipped for the MSSQL client is nothing I can do here is to connect MSSQL with the 1433 port, if a different port number, you can transfer port. unit Ju...

36: DELPHI I wrote a few base types
/ / Used to JAVA or C # may be very angry to DELPHI, and even do not have the type of basic, I normally work, often a number of functions have been tried together, but also often do some of their own based on the type of function , get them out of h...

37: Delphi used to DIY a software "face" feature
<Thoughts> Software's "skin" technology are nothing new, but carefully must have found a friend, and now are quietly pop a new method to improve the visual effects - I venture to suggest here is defined as "color change&quo...

38: [vcl source essence] of the [borland engineers how to ensure that parent (TStream) the overload of the two seek, must be at least one override]
TStream use the following code, the mandatory sub-class must implement at least two methods seek a 4904 line classes.pas unit @ Delphi7 First of all, seek that there are two methods of TStream function Seek (Offset: Longint; Origin: Word): Longin...

39: Delphi achieve the Singleton pattern
Single-case model of the process used to restrict a certain class is only one object, in this case the instance of Singleton is a thread in each test clock arrival time to reach a certain (in this case the moment stored in Ini files), and If you arr...

40: Creating Forms that are stored in DLLs
There are lots of resources and solutions out there on the internet that are specific to this problem, However, in using the BusinessSkinForm components, that are tightly integrated with the VC L and messaging, I came across a few problems with the ...


Page 2 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]