In this article, we talked about the ITF barcode (interleaved, industrial, matrix), its features, settings, and showed how to create code using Delphi / Lazarus / C++ Builder
In Delphi we link the resource by adding the following line to a project file or to a convenient unit. For the example given above we would use: {$R HTML.res} Using better resource names You may find it helpful to name resources with file-like names. Doing this will make it easier ...
The Delphi library functionAllocateHWndis used to create a hidden window for us and the relatedDeallocateHWnddisposes of the window when we've finished with it. A hidden window requires a window procedure.AllocateHWndenables us to use a method as a window procedure where Windows normally requires ...
A demo program to accompany this article (and the relatedarticle) can be found in thedelphidabbler/article-demosGit repository on GitHub. You can view the code in thearticle-02+03sub-directory. Alternatively download a zip file containing all the available demos by going to the repository's l...
Image 1: Test application main form in Delphi form designer We will use theTTimerto update the status bar with details of the active control every 1/10thof a second. To do this create aOnTimerevent handler for theTTimeras follows:
How to Write and Call DLL's within Delphi - The following code creates a DLL containing two functions, Min and Max, with the objective of returning the larger of two integers.
Create a new Delphi project containing one form. This form is, by design, the main form. If you change the name of the form to "TMainForm" and save the unit as "main.pas," the project's source code looks like this (the project was saved as "PasswordApp"): program PasswordApp...
1.Install the Unicode component library to Delphi's component palette. 2.Open the form that you want to convert 3.Change to text view. Right click the form and choose View as Text. 请注意甄别内容中的联系方式诱导购买等信息谨防诈骗 HowtowriteUnicodeWIN32applicationswithDelphi How to write Unico...
ProDelphi measures the runtime of Delphi programs. If a program is too slow, ProDelphi gives the necessary information to optimize it. The principle of source code instrumenting , a sophisticated correction algorithm and the unique granularity of 1 CPU cycle guarantee to get correct...
How to build your own custom File Open or File Save dialog box with Delphi, similar to Windows Explorer.