Delphi

Components vs Children in FireMonkey

Author: Jayme Jeffman Filho You have probably iterated through the Components array many many times as a Delphi developer. Consider this simple application: It’s probably no surprise that listing the Components of the form like this… procedure TForm2.Button1Click(Sender: TObject); var i: Integer; begin Memo2.Lines.Clear; for i := 0 to ComponentCount-1 do …
Read more
Delphi

ORM Frameworks for Delphi...

I have just returned from myRAD Studio XE3 World Tour stops in Europe. It was great to see so many young and old developers in London, Amsterdam, Warsaw and Heidelberg. In two cities I was asked whether there were any Object Relational Mapping solutions for…
Delphi

Custom FireMonkey "TSimpleTriangle" component

Author: Pawe Gowacki Have you ever written a component in Delphi? Reusable components are the corner-stone of rapid application development and important part of Delphi success on the market. Being able to manipulate an instance of a class at design-time is where Delphi shines! One day I was looking at mocking up a FireMonkey turn-based board game. A screen with a board and names of two opponents.
Read more
Delphi

Getting to grips with using FireMonkey Grids

Although there is a huge amount that is the same for Delphi and C++ Builder developers between VCL and FireMonkey, one thing that has changed is the FireMonkey grids. FireMonkey Grid Example After a recent question at an event, I thought I would put a little demo together to…
Delphi

Writing a FireMonkey DLL for use with a VCL application.

VCL App calling a FireMonkey DLL We have had a lot of questions on the road show tour about how to mix Fire Monkey and VCL. Although this is not officially supported, a number of blogs have started to appear with ways to do this. One way that is appropriate to add additional…
Delphi

Reading and writing files from an iOS FireMonkey application

Author: dragonhome Here’s an example of how you can read and write files in your iOS FireMonkey application. Enjoy! {$IFDEF FPC} var content : NSString; {$ENDIF} {$IFDEF FPC} function MyFileName : NSString; var paths : NSArray; fileName : NSString; begin paths := NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, True); fileName :=…
Read more
Delphi

New "TOSVersion" type in Delphi XE2

Author: Tóth Erik Delphi XE2 is probably the most significant release since Delphi 1. The number of new features is amazing and probably the biggest, most important one is FireMonkey – a brand new business application development platform that let you use Delphi…
Delphi

Delphi JSON Viewer

Author: Michael K22532 JSON support has been introduced in Delphi 2010 as a part of DBExpress database driver architecture, but of course JSON support is not limited to just database applications. JSON is similar to XML as both are text-based data interchange formats. Delphi 6 introduced “TXMLDocument” component and the “XML Data Binding Wizard” to make it easier to work with XML documents…
Read more