Published: Tue, 17 Jan 2017 11:14:50 +0000
2017-01-17T11:14:50ZLearn symbolic constant names and keyboard equivalents for the virtual key codes used by Windows. How to enhance the functionality of a TDBgrid component.
2017-01-17T11:14:50ZContrary to most other Delphi data-aware controls, the DBGrid component has many nice features and is more powerful than you would have thought. The
2017-01-17T11:14:50ZA Dynamic Link library, or DLL, is a collection of routines (small programs) that can be called by applications and by other DLLs. Using Delphi, we can write and use our own DLLs, and we can call functions in DLLs developed with other systems / by other developers. Find out how.
2017-01-17T11:14:50ZHave you ever needed to open documents in a file listbox, just by double clicking on them, without opening the associated program first? Learn how.
2017-01-17T11:14:50ZThe concept of arrays in Delphi is simple: arrays allow us to refer to a series of variables by the same name and to use a number (an index) to tell them apart. Arrays have both upper and lower bounds, and the elements of the array are contiguous within those bounds.
2017-01-17T11:14:50ZIntroduced in Delphi 2009, the TDictionary class, defined in Generics.Collections unit, represents a generic hash table type collection of key-value pairs. In Delphi, the TDictionary is defined as a hash table. Hash tables represents a collection of key-and-value pairs that are organized based on the hash code of the key. Hash tables are optimized for lookups (speed). When a key-value pair is added to a hash table, the hash of the key is computed and stored along with the added pair.
2017-01-17T11:14:50ZBefore you can call routines defined in DLL, you must import them. Functions exported from a DLL can be imported in two ways: by declaring an external procedure or function (static), or by direct calls to DLL specific API functions (dynamic). What should be used when: static or dynamic loading of DLLs in Delphi.
2017-01-17T11:14:50ZLearn all about coloring DBGrid. Learn how to enhance the functionality of a TDBgrid component using colors to distinguish yourself from others.
2017-01-17T11:14:50ZIs the mouse over a component? Was a mouse button pressed? Which button was it? Did the user release a button, which one? Exactly where inside the form is the mouse? Did the user move the mouse out of the form into another form?
2017-01-17T11:14:50ZA Delphi function is a routine returning a value. A single value? Yes, No. No, a Delphi function can return multiple values and there are different ways how to achieve this goal. Either rely on VAR (by-reference) parameters or return a record, or something even more complex...
2017-01-17T11:14:50ZThis article will show you how to use the TClipboard object to implement cut-copy-paste features in your Delphi application.
2017-01-17T11:14:50ZGet familiar with the OnKeyDown, OnKeyUp, and onKeyPress Delphi event procedures to respond to various key actions or handle and process ASCII characters along with other special purpose keys.
2017-01-17T11:14:50ZAbout.com's Delphi Programming site (http://delphi.about.com) proudly presents: free online programming tutorials for (beginner) Delphi developers!
2017-01-17T11:14:50ZEverything you ever wanted to know about DLLs and Delphi but didn't know where to look for answers (or were to afraid to ask)
2017-01-17T11:14:50ZA Beginner's Guide to Delphi Programming. Free online programming tutorial / course for beginner developers. Focus on Borland Delphi.
2017-01-17T11:14:50ZTo speed up data processing, for example, fetching data from the database to create reports, you can add an additional thread to fetch and operate on the result (recordset). Learn about the traps in writing Multithreaded Delphi Database Queries with dbGo (ADO).
2017-01-17T11:14:50ZThe .INI files have a text-based file format for representing application configuration data in a format which is easily editable by humans and readable by a simple automatic parser. Learn how to use Delphi's TIniFile to read and write INI configuration files.
2017-01-17T11:14:50Zclass="no-js" itemscope itemtype="http://schema.org/Article" > itemprop="description" >Users accustomed
2017-01-17T11:14:50ZSend email messages with attachments using Indy and Delphi. Full source code to a simple
2017-01-17T11:14:50ZMulti-threading in Delphi lets you create applications that include several simultaneous paths of execution. When several threads are running in the application a question arises: how to update your GUI (user interface) as a result of a thread execution. The question lies in the TThread class Synchronize method.
2017-01-17T11:14:50ZDelphi organizes applications into what is called projects. A project is made up of the visual interface along with the code that activates the interface. Each project can have multiple forms, allowing us to build applications that have multiple windows. Find out about Delphi's Project File in this article!
2017-01-17T11:14:50ZWhen you start programming in Delphi you might get errors like
2017-01-17T11:14:50ZLearn about records, Delphi's data structure that can mix any of Delphi's built in types including any types you have created.
2017-01-17T11:14:50ZWorking with GIF images in Delphi. Need to display an animated GIF image in a Delphi application? Even though Delphi does not natively support GIF image files formats (like BMP or JPEG) there are a few great (free source) components available on the Net, which add the ability to display and manipulate GIF images at run as well as at design time to any Delphi application.
2017-01-17T11:14:50ZThe Win 3.1 Delphi components palette group includes several components that enable us to build our own custom File Open or File Save dialog box. The components are TFileListBox, TDirectoryListBox, TDriveComboBox, and TFilterComboBox. Let's see how we can build a simple File Navigating dialog box with these components and just a few lines of code.
2017-01-17T11:14:50ZWhat You Need to Know About Delphi Programming. The purpose of this page is to orient newcomers with an overview of some special features of the About Delphi Programming Web site.
2017-01-17T11:14:50ZLearn about placing Delphi applications in the System Tray in easy steps. The perfect place form programs can run for a long time without user interaction.
2017-01-17T11:14:50ZThe TTreeView Delphi component displays a hierarchical list of items - tree nodes. A node is presented by node text and an optional image. In real-world applications your tree nodes would need to carry more info: some more properties or even an entire custom object. How to?
2017-01-17T11:14:50ZFull source code of the TColorButton Delphi component, an extension to the standard TButton control, with font color and background color.
2017-01-17T11:14:50ZDelphi's Pos function returns an integer specifying the position of the first occurrence of one string within another.
2017-01-17T11:14:50ZCreating a new Delphi (VCL, FMX) application would result in creating a single application (program) where all the units and forms used in the program would be compiled/linked into a singe executable file. If you would like to have the same code base in one program but also have an option to build two (or more) different applications - you should be looking at Delphi's conditional compilation.
2017-01-17T11:14:50ZLearn how to track the mouse activity even when your application is not active, sits in the Tray or does not have any UI at all. By installing a system wide (or global) mouse hook you can track what the user is doing with the mouse and act accordingly.
2017-01-17T11:14:50ZOverview of dbExpress, along with a collection of tutorials and articles on building database applications using this data access technology.
2017-01-17T11:14:50ZLooking for a single-file, single-user database for your next Delphi application? Need to store some application specific data but you do not want to user the Registry / INI / or something else?
2017-01-17T11:14:50ZIn most of my Delphi applications I'm using INI files to store configuration options. For one particular situation I wanted to somehow hide the content of the INI file. Yes, INI files are not to be used to store critical data, but in this case I only simply wanted to have a no-eye situation. Let's see how to crypt and uncrypt INI files.
2017-01-17T11:14:50ZAn overview of VCL components allowing you to access a MySQL database from Delphi using standard data controls without using BDE/ADO/ODBC. Plus a few MYSQL related tools.
2017-01-17T11:14:50ZThe differences between a Delphi component Owner and its Parent explained. Plus: when to use the Controls and Component properties of a Delphi component.
2017-01-17T11:14:50ZDelphi makes it easy to program dragging and dropping into our applications. You can even drag and drop from one form to another.
2017-01-17T11:14:50ZPut shortly, a hook is a function you can create as part of a dll or your application to monitor the 'goings on' inside the Windows operating system. Hooks.pas ensures hooking in Delphi applications is easy.
2017-01-17T11:14:50ZThe MD5 Message-Digest algorithm is used to check the integrity of files. Learn how to easily create a function to calculate the MD5 hash for a given file.
2017-01-17T11:14:50ZWhispering about reverse engineering Delphi applications: 'I have a Delphi program's .exe, can I decompile it and get the source?'. Page 3.
2017-01-17T11:14:50ZA guide to developing Delphi programs in Windows API (without the use of the VCL). Free online programming course for intermediate/advanced Delphi developers. Focus on raw Windows API programming.
2017-01-17T11:14:50ZThere are situations when you want to display a list of strings to the user, for example in the list box control, but also have a way to store one more additional string (or event an object instance) along the one displayed to the user. Here's how when using Delphi.
2017-01-17T11:14:50ZFind out how to exploit the powers of the Sender parameter in Delphi: share event handlers and more.
2017-01-17T11:14:50ZNeed to create, encrypt or manage PDF (Portable Document Format) files from Delphi? Using the tools and components in this listing you will get powerful control of PDF documents in your applications. PDF is a worldwide standard for electronic documents. It was originally developed by Adobe.
2017-01-17T11:14:50ZExtending Delphi functions and procedures with default (optional) parameters and method overloading.
2017-01-17T11:14:50ZGenerics, a powerful addition to Delphi, were introduced in Delphi 2009 as a new langage feature. Generics or generic types (also know as parametrized types), allow you to define classes that don't specifically define the type of certain data members. Get ready to use Generics.
2017-01-17T11:14:50ZFree online database programming course for beginner Delphi developers. Focus on ADO techniques.
2017-01-17T11:14:50ZHow to sort records in Delphi DbGrid by clicking on the column title. Plus: how to change the appearance of the selected column title with sort order.
2017-01-17T11:14:50ZLearn about Date/Time Delphi functions and procedures in RTL.
2017-01-17T11:14:50Zclass="no-js" itemscope itemtype="http://schema.org/Article" > itemprop="description" >Delphi provided
2017-01-17T11:14:50ZThe Understanding Delphi Class (and Record) Helpers article introduces a feature of the Delphi language allowing you to extend the definition of a class or a record type by adding functions and procedures (methods) to existing classes and records without inheritance. In XE3 Delphi version, record helpers became more powerful by allowing to extend simple Delphi types like strings, integers, enums, sets and alike. Here's a sample helper for a set of bytes.
2017-01-17T11:14:50ZOne of the keys to traditional Windows programming is handling the messages sent by Windows to applications. Handling Windows Messages the Delphi way!
2017-01-17T11:14:50ZWorking with binary files from Delphi. Use Delphi to manage writing, reading and updating your own types of files.
2017-01-17T11:14:50ZWindows Service applications take requests from client applications, process those requests, and return information to the client applications. They typically run in the background, without much user input. Services can be automatically started when the computer boots, can be paused and restarted, and do not show any user interface.
2017-01-17T11:14:50ZIf you allow a user to customize DBGrid's appearance at run time (Columns width and position), when the form is closed and reopened, all the user changes are lost. For a better user experience it would be ideal if your application could somehow store (and load when needed) all the changes the user has made to the Grid appearance. Here's how.
2017-01-17T11:14:50ZAdding components to a DBGrid. Here's how to place a check box into a DBGrid. Create visually attractive user interfaces for editing boolean fields.
2017-01-17T11:14:50ZAn introduction to pointer data type in Delphi. What are pointers, why, when and how to use them.
2017-01-17T11:14:50ZAn introduction to Delphi Pascal. Before you start developing more sophisticated applications by using the RAD features of Delphi, you should learn the basics of the Delphi Pascal language.
2017-01-17T11:14:50ZIf you need to implement some kind of authorization for your Delphi application you might want to display a login / password dialog *before* the main form is created and displayed to the user. In short, the idea would be to create, display, and destroy the
2017-01-17T11:14:50ZOne of the Delphi language features not found in other modern languages is the notion of sets. Delphi's set type is a collection of values of the same ordinal type. Learn about Delphi sets to better understand Delphi source code.
2017-01-17T11:14:50ZThese top Delphi reporting tools easily create complex reports that directly link to a Delphi EXE. The tools include a report engine, report designer, and a previewer.
2017-01-17T11:14:50ZThe TStopWatch Delphi class implements a very accurate process execution timer and provides a set of methods and properties that you can use to accurately measure elapsed time.
2017-01-17T11:14:50ZLearn how to programmatically download a web document from the Internet using Delphi and WinInet API.
2017-01-17T11:14:50ZCreate visually more attractive user interfaces for editing lookup fields inside a DBGrid - place a DBLookupComboBox into a cell of a DBGrid.
2017-01-17T11:14:50ZLooking for a free source multi-purpose Delphi component collection to add more power to your applications? Look no more, here's a list of the best Delphi component (free with source) sets on the Net!
2017-01-17T11:14:50ZHere's how to store (and retrieve) a record (structure) value into a BLOB field in Delphi database applications.
2017-01-17T11:14:50ZDelphi string handling routines explained: declarations, descriptions and examples.
2017-01-17T11:14:50ZTQPDF - Delphi wrapper for the QPDF.DLL. QPDF is capable of creating linearized (also known as web-optimized) files and encrypted files. It is also capable of converting PDF files with object streams (also known as compressed objects) to files with no compressed objects or to generate object streams from files that don't have them (or even those that already do).
2017-01-17T11:14:50ZMore sophisticated Mouse techniques. Is mouse Present? Handling OnMouseEnter, OnMouseLeave. Restrict movement, Set Position, Faking clicks, etc.
2017-01-17T11:14:50ZThis document describes what Windows hooks are and how to use them within a Delphi application.
2017-01-17T11:14:50ZLearn how to register and unregister OLE controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files from a Delphi application.
2017-01-17T11:14:50ZLearn how to read and manipulate XML documents with Delphi using the TXMLDocument component. Let's see how to extract the most current
2017-01-17T11:14:50ZTo use a DLL stored inside a Delphi application executable file, the DLL first needs to be stored on the file system. Does it? Here's how to load a DLL from a resource directly into memory and use it without saving it to the hard-drive.
2017-01-17T11:14:50ZIf, for whatever the reason, you need to terminate the running instance(s) of your application when the user decides to start a new instance, you need to find a mechanism to notify all the running instances (and optionaly) close them. This article shows you one such mechanism when using Delphi.
2017-01-17T11:14:50ZFree online Borland Delphi OOP Course: Chapter Overview.
2017-01-17T11:14:50ZResources support the program but are not executable code. Learn how Delphi uses standard Windows-format resource files: icons, bitmaps and cursors.
2017-01-17T11:14:50ZLearn how to send the WM_CopyData message between two Delphi applications to exchange information and make two applications communicate. The accompanying source code demonstrates how to send a string, record (complex data type) and even graphics to another application.
2017-01-17T11:14:50ZUnderstanding and using Borland Delphi Class procedures / functions. What they are and how to find a practical use for them.
2017-01-17T11:14:50ZExamining the life cycle of a Delphi Form - the central element of development in Delphi. See what's happening behind events OnCreate, OnActivate, OnShow, OnClose...
2017-01-17T11:14:50ZLearn about creating a console mode application with Delphi; a text-mode program that runs without a graphical interface. See how to capture the output.
2017-01-17T11:14:50ZThe most basic splash screen is just an image (more precisely a form with an image) that appears in the center of the desktop screen when the application is loading (and gets hidden when the application is ready for usage).
2017-01-17T11:14:50ZMultiple row selection in Delphi DBGrid - providing the ability to select multiple records within the grid. Learn this step of Delphi Database Programming.
2017-01-17T11:14:50ZHow to pass command-line parameters to your Delphi application and how to handle them.
2017-01-17T11:14:50ZHere's how to obtain a computer's IP address by using the Socket API and Delphi's Pascal. Icmp.dll allows developers to write ping applications on Windows.
2017-01-17T11:14:50ZPressing the Tab key moves the input focus to next control and Shift-Tab to previous in the tab order of the form. When working with Windows applications, most users intuitively expect the Enter key to behave like a Tab key.
2017-01-17T11:14:50ZLearn how to use Structured Query Language in Delphi.
2017-01-17T11:14:50ZDelphi provided Runtime Type Information (RTTI) more than a decade ago. Yet even today many developers aren't fully aware of its risks and benefits. This article provides an overview of the RTTI usage in Delphi for Win32.
2017-01-17T11:14:50ZPreparing to code with no barriers. See how to overcome the compiler version problem: compiling Delphi code for various Delphi versions.
2017-01-17T11:14:50ZDelphi's RightStr function returns a string containing a specified number of characters from the right side of a string.
2017-01-17T11:14:50ZDelphi's LeftStr function returns a string containing a specified number of characters from the left side of a string.