2016-10-21T11:02:40ZThe shortest path to creating a function that obtains precisely (1 millisecond) the difference between two dates passed as parameter. The result is a record in years, weeks, days, hours, minutes, seconds and milliseconds which is the difference of full dates!
2016-10-21T11:02:40ZLearn how to register and unregister OLE controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files from a Delphi application.
2016-10-21T11:02:40ZIf, 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.
2016-10-21T11:02:40ZMost often when programming in Delphi you don't need to dynamically create a component. If you drop a component on a form, Delphi handles the component creation automatically when the form is created. This article will cover the correct way to programmatically create components at run-time.
2016-10-21T11:02:40ZHere's how to show the contents of a MEMO (textual BLOB) field in a TDBGrid. Plus: how to enable editing of a TMemoField's contents using a separate window.
2016-10-21T11:02:40ZFind out how to exploit the powers of the Sender parameter in Delphi: share event handlers and more.
2016-10-21T11:02:40ZNeed to highlight the row behind the mouse cursor in a DBGrid? Here's how to select (make active record) and highlight (change color, font, etc.) a row.
2016-10-21T11:02:40ZIf 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.
2016-10-21T11:02:40ZIn Delphi, the XPath implementation is included in the xmldom.pas unit. Here's how to wrap XPath's selectNodes into IXMLNode.SelectNodes to get a collection of XML nodes into IXMLNodeList.
2016-10-21T11:02:40ZLearn how to locate a TreeView node given by node text using Delphi. For those developing Delphi applications using the TreeView component. .
2016-10-21T11:02:40ZOne of the keys to traditional Windows programming is handling the messages sent by Windows to applications. Handling Windows Messages the Delphi way!
2016-10-21T11:02:40ZNo matter how much I (guess this refers to all of you) try not to leave the Connected property to true before building for the last time - in most cases I simply forget to close the connection before saving and closing the project.
2016-10-21T11:02:40ZPreparing to code with no barriers. See how to overcome the compiler version problem: compiling Delphi code for various Delphi versions.
2016-10-21T11:02:40ZThis chapter explores the Factory patterns, which, instead of changing an object’s behaviour, provide ways of creating different objects to suit run time requirements.
2016-10-21T11:02:40ZContrary to most other Delphi data-aware controls, the DBGrid component has many nice features and is more powerful than you would have thought. The
2016-10-21T11:02:40ZNo title bar! How can we drag such a window? It's easy and fun: let's make a Delphi form move by clicking (and dragging) in it's client area.
2016-10-21T11:02:40ZThere are situations when you need to allow a user to change the placement and dimension of controls at run-time. Learn how to move and resize controls at run time in Delphi applications.
2016-10-21T11:02:40ZUnderstanding and using Borland Delphi Class procedures / functions. What they are and how to find a practical use for them.
2016-10-21T11:02:40ZFree online Borland Delphi OOP Course: Chapter Overview.
2016-10-21T11:02:40ZExamining the life cycle of a Delphi Form - the central element of development in Delphi. See what's happening behind events OnCreate, OnActivate, OnShow, OnClose...
2016-10-21T11:02:40ZWhat most Delphi developers are not aware of, is that you can even implement the OnMouseHover behavior to change the display (color, font, etc.) of the DBGRid's (data) row underneath the mouse - thus making it look like todays web driven interfaces.
2016-10-21T11:02:40ZThe 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?