DelphiRAD Studio

Ignore Changes with Custom Managed Records

Handling the OnChange event handler on a TEdit is great until you programmatically change the text and trigger your OnChange event handler again. It gets really fun if you have two TEdit boxes that update each other in their OnChange event handler. I was reading Automate…
Delphi

Class Implementing Two Interfaces with Duplicate Method Names

Delphionly supports single inheritance. A Delphi class can only descend from a single parent class, but a Delphi class can implement multiple interfaces. type TAthlete = class(THuman, IWalker, IJumper) The TAthlete descends from the THuman parent class (which presumably descends from TInterfacedObject) and it implements both the IWalker and IJumper interfaces.What ifboth…
Read more